Devian Posted April 9, 2008 Share Posted April 9, 2008 Hi everyone ! I have a problem and i haven't got any time, so please excuse me for not thoroughly checking the forum for a solution. When i set up the apache everything is okay, but i forgot how to tell apache to recognize subdirs - what i mean : i have set up the doc root to " d:/webroot " and the apache takes the index.html/htm/php/etc from there, so when i type in the browser " http://my.ip.address./ " it takes, for example, the index.php file. That's normal, but i forgot how to tell apache to do the same thing for, lets say : " http://my.ip.address/ha ". If i type ip " http://my.ip.address/ha/index.php " it works, but if i type in only " http://my.ip.address/ha " it doesn't ... So, can anyone help ? Thank You all in advance ! rgds Quote Link to comment https://forums.phpfreaks.com/topic/100370-solved-subdir-visibility/ Share on other sites More sharing options...
trq Posted April 10, 2008 Share Posted April 10, 2008 I have a problem and i haven't got any time, so please excuse me for not thoroughly checking the forum for a solution. One would think that is you are in a hurry it would be quicker to search for an existing answer rather than have to wait for a response. Anyways, to answer your question, make sure your DirectoryIndex directive is set within your httpd.conf file. eg; DirectoryIndex index.php Quote Link to comment https://forums.phpfreaks.com/topic/100370-solved-subdir-visibility/#findComment-513703 Share on other sites More sharing options...
Devian Posted April 10, 2008 Author Share Posted April 10, 2008 I fixed it :} It's just that i last worked with apache a long time ago ... and a few days ago a friend asked me for help and i was in a rush to help him as fast as i could, but i didn't remember even the basics of workin' with apache :} And a very disturbing situation occurred So anyway - thank you This is a nice forum - i had some to look through it today and it seems very helpful :} Quote Link to comment https://forums.phpfreaks.com/topic/100370-solved-subdir-visibility/#findComment-513807 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.