logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: redirect
Author
dotolee



Joined: 28 Apr 2008
Posts: 5

PostPosted: Mon 19 May '08 15:07    Post subject: redirect Reply with quote

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

PostPosted: Mon 19 May '08 17:47    Post subject: Reply with quote

1. I'd put it in the Directory Container for the test folder
DirectoryIndex default.php

Last question is yes
Back to top


Reply to topic   Topic: redirect View previous topic :: View next topic
Post new topic   Forum Index -> Apache