« Return to Thread: index files in subdirectories

Re: index files in subdirectories

by musetracks :: Rate this Message:

Reply to Author | View in Thread

Look for your DocumentRoot directive in your httpd.conf.  It will (or
should) contain a space-delimited list of file names (e.g. index.html
index.cgi).  Add "index.php" and you'll be all set.

On 7/12/06, Karl@cometa <karl@...> wrote:

>
> I have a server set up with Apache/2.0.55 (Win32),  PHP/5.1.2, and Perl
> (ActivePerl 5.8.8 Build 817).
>
> My main index page (index.php) resides in my DocumentRoot directory and is
> served by entering the url without the need to add index.php to the end.
>
> This page has links to my company's bugzilla page and wiki page.
>
> When setting up the links, if I add index.cgi (for Bugzilla) and index.php
> (for wiki) to the end of the urls the browser navigates to those pages and
> it all works ok but it I put a link in like http://blah.com/blah/ I get a
> forbidden message.
> Apache wont serve the default pages for subdirectories of my DocumentRoot
> folder.
>
> Does anyone know why this might be and how I may resolve this?
>
> Karl
> --
> View this message in context: http://www.nabble.com/index-files-in-subdirectories-tf1930381.html#a5287072
> Sent from the Apache HTTP Server - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@...
>    "   from the digest: users-digest-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>


--

Rob Wilkerson

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@...
   "   from the digest: users-digest-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: index files in subdirectories