Discussion of technology related topics including news, events, and announcements.


Postby icegood » February 19th, 2013, 7:34 am

Cannot find subject in my debian. Where it located? More precisely where located index.php for my apache2 server?
Posts: 3
Joined: December 28th, 2012, 4:17 pm

Re: httpd.conf?

Postby jheaton5 » February 19th, 2013, 10:52 am

Code: Select all
$ locate http.conf
$ locate index.php
Posts: 1768
Joined: February 9th, 2011, 10:25 am
Location: Newnan, GA USA

Re: httpd.conf?

Postby CiaW » February 21st, 2013, 1:53 am

In Debian the config file is called apache2.conf and it's found under /etc/apache2. However, if you want to find a file called index.php it should be under the document root location. Probably /var/www or /var/www/html. The default file apache will look for is index.html, probably. You or a CMS would have to create an index.php if that's what you're using.

What is your purpose for looking for or wanting an index.php file? You gave us no details about what you're doing or why you are looking for httpd.conf ? (Sorry if I'm just feeding the troll...)
Posts: 364
Joined: June 26th, 2011, 4:42 pm

Return to Technical Talk

Who is online

Users browsing this forum: No registered users and 1 guest