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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.