Re: [users@httpd] index files in subdirectories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--

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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux