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: redirect |
|
Author |
|
dotolee
Joined: 28 Apr 2008 Posts: 5
|
Posted: Mon 19 May '08 15:07 Post subject: redirect |
|
|
I'm trying to redirect all requests for my
localhost/test/ site to go to localhost/test/default.php
right now, the contents of my index.shml file is being displayed when i navigate to the main web folder (http://localhost/test/)
I've modified my httpd.conf file to include the following entry:
Redirect permanent http://localhost/test/index.shtml http://localhost/test/default.php
That doesn't seem to be working... i'm still getting the content from the index.shtml displaying...
Also, one other question. By default, if i were to create a subfolder under the main web folder, will apache make it visible to the world?
eg. if localhost/test is pointing to c:\teststuff and i create a folder under it called c:\teststuff\abc, by default, should i be able to do the following in Internet Explorer:
http://localhost/test/abc/test.php
Please help!
Thanks. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 19 May '08 17:47 Post subject: |
|
|
1. I'd put it in the Directory Container for the test folder
DirectoryIndex default.php
Last question is yes |
|
Back to top |
|
|
|
|
|
|