Druid Posted March 4, 2007 Share Posted March 4, 2007 I'm running apache on my windows box...via PHPtriad. My problem is: If i go to my site, both work: http://example.mine.nu/ and http://example.mine.nu But if I go to a subdirectory, it doesn't work: http://example.mine.nu/testing But this works: http://example.mine.nu/testing/ The testing directory does have an index file, but it seems the / makes all the difference. Is there a setting somewhere I can edit to allow both URL's to work, with or without the last slash? Quote Link to comment https://forums.phpfreaks.com/topic/41082-solved-setting-helpcannot-display-webpage/ Share on other sites More sharing options...
wildteen88 Posted March 4, 2007 Share Posted March 4, 2007 Do you have the mod_dir Apache module loaded in the httpd.conf. if you do then http://mysite.com/dir will be converted to http://mysite.com/dir/ automatically. If its not loaded remove the # from in front of the following line in the httpd.conf: LoadModule dir_module modules/mod_dir.so By default it should already be enabled when you install Apache. If it is loaded see if adding DirectorySlash On into the main <directory /> section for the document root - around line 180 any changes you make to the httpd.conf file save and restart Apache. Quote Link to comment https://forums.phpfreaks.com/topic/41082-solved-setting-helpcannot-display-webpage/#findComment-199040 Share on other sites More sharing options...
Druid Posted March 4, 2007 Author Share Posted March 4, 2007 It's not loaded and I don't even have the module. I added the line but the module could not be found. I checked the modules directory and it really isn't there. I tried searching google for it but there's no where I can download it. Any suggestions? I'm running Apache 1.3.23 from a phptriad installation. Quote Link to comment https://forums.phpfreaks.com/topic/41082-solved-setting-helpcannot-display-webpage/#findComment-199238 Share on other sites More sharing options...
Druid Posted March 4, 2007 Author Share Posted March 4, 2007 I'm running it on windows. Quote Link to comment https://forums.phpfreaks.com/topic/41082-solved-setting-helpcannot-display-webpage/#findComment-199262 Share on other sites More sharing options...
wildteen88 Posted March 5, 2007 Share Posted March 5, 2007 Your are using a rather outdated version of Apache. Also installing phptriad is quite old. It is best to install Apache, PHP and MySQL manually which I always recommend rather than using an all in one package. If you want to install AMP manually on windows then search my posts I have posted lots of posts on how to setup Apache and PHP on windows - the majority is in the Apache forum and PHP installation forum. However if you don't want to install manually go for a more up to date package like WAMP. Quote Link to comment https://forums.phpfreaks.com/topic/41082-solved-setting-helpcannot-display-webpage/#findComment-200147 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.