zgkhoo Posted August 21, 2007 Share Posted August 21, 2007 how to make main.php as default apache web server home file? it always locate index.php as home , how can i configure as main.php as default home file which user key in domain ..it redirect user to main.php and not index.php ..thanks. Quote Link to comment Share on other sites More sharing options...
trq Posted August 21, 2007 Share Posted August 21, 2007 Find the DirectoryIndex directive in either your global httpd.conf file or your vhost and append it accordingly then restart apache. Quote Link to comment Share on other sites More sharing options...
zgkhoo Posted August 21, 2007 Author Share Posted August 21, 2007 then how to config apache webserver httdoc directory? i wanna make it point to another directory such as c:\mydocument\httpdoc. thanks Quote Link to comment Share on other sites More sharing options...
trq Posted August 21, 2007 Share Posted August 21, 2007 Have a look at your httpd.conf file. It is very well commented by default. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.