Jump to content

[SOLVED] Setting help...cannot display webpage


Druid

Recommended Posts

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?

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.

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.