Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

having ~userdir problems....

Status
Not open for further replies.

feeble

MIS
Sep 14, 2001
46
US
OK, this is kind of weird, but here I go. My domain is lamebox.net and when I type it into a web browser, the page displays fine. it's when i add the ~userdir to the end of it that the trouble happens. for instance the page will not display, but if i type <-- notice the &quot;/&quot; @ the end, it diplays fine. The thing is i should not have to add the &quot;/&quot; to the end. a good example is works fine without the &quot;/&quot; @ the end. it's not a huge deal, but it is bothering the heck out of me.

anyone got any ideas, answers, suggestions???
 
I'll bet ya dollars to doughnuts that you put a trailing slash at the end of your directory path when you defined the container. If you add the trailing slash you force the user to put the trailing slash. You might also want to make sure you are using the `Indexes&quot; directive.
 
no, no trailing slash when making container. I am also using the the correct indexes directive.
 
Oh, and since I forgot to mention this earlier I am running RH7.1 & Apache-1.3.19-5
 
ALL RIGHT. I got it. This is pretty strange. In httpd.conf you must uncomment the &quot;#ServerName localhost&quot; and put your valid dns name. After I did that the problem went away. I just assumed it was not unnecessary since my page would be served when you went to my url.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top