Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: tralling slash and index.php ? |
|
Author |
|
Ang3lus
Joined: 02 Aug 2010 Posts: 18
|
|
Back to top |
|
Virsacer
Joined: 16 Jan 2010 Posts: 108 Location: Germany, Darmstadt
|
Posted: Mon 20 Sep '10 1:46 Post subject: |
|
|
I let php do the job (first line in index.php)
Code: | if(!strpos($_SERVER['REQUEST_URI'],"index.php"))header("Location: index.php"); |
|
|
Back to top |
|
Ang3lus
Joined: 02 Aug 2010 Posts: 18
|
Posted: Mon 20 Sep '10 5:55 Post subject: |
|
|
thanks for your help
but is there a possible way to do that using Apache configuration file
I used RedirectMacth directive to do that . However, it is not implement for all directories just for home page |
|
Back to top |
|
|
|
|
|
|