One more try on UserDir
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > One more try on UserDir




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    One more try on UserDir  
Lil' Abner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-04 09:33 AM

I asked almost this same question a week or so ago and was referred to
documentation on websites. Which I followed up on and still can't come up
with an answer.
I'm running Redhat 9.0 with Apache 1.3.29. My user directories are in
/home/*/web and calls to a user's pages are going there. Without execute
permissions on the "web" directory, I get "access denied". If I give the
directory execute permissions, then I get "Unable to display the page"
Nothing shows in the error log. I put an .htaccess file in that directory
and munged it on purpose (allow all instead of allow from all). Then I'd
get a different error when trying to access it. "Internal Server Error"
Then I looked in the error log and it pointed out my mistake in
.htaccess.  So it IS reading the directory. The directory contains a
valid index.html and DirectoryIndex is set to index.html index.htm.
I don't believe the directory really needs an .htaccess file, but it is
----
order allow,deny
allow from all
----
I get the same symptoms with or without it.
Address on the Redhat machine is www.mewnlite.com:8080/~ted
What you're *supposed* to see is at www.mewnlite.com/~ted
That's my Windows 98 machine which has been humming along fine for
two years. With Apache 1.3.12.
Identical index.html
I might point out that I'm not Ted. He is a good friend of mine who is a
Linux fanatic. He has root priviledges and has been working on it himself
for a week too, and can't figure it out.
Can anyone help?

--
I child-proofed my house but they are still getting in.





[ Post a follow-up to this message ]



    Re: One more try on UserDir  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-04 04:34 PM

Lil' Abner <blvstk@dogpatch.com> wrote:
> permissions on the "web" directory, I get "access denied".

That's correct. The web directory have to be world-readable and
world-executable.

> Address on the Redhat machine is www.mewnlite.com:8080/~ted

Ok, if I do www.whatever/~ted I got a "linus.localdomain could
not be found", if I use www..../~ted/ (note the last '/'), it works
perfectly. So is a matter of trailing slashes.
Check your UserDir and your <Directory ...> settings for trailing
slashes.

Davide

--
| "A power so great, it can only be used for Good or Evil!" -- Firesign
| Theatre, "The Giant Rat of Summatra"
|
|





[ Post a follow-up to this message ]



    Re: One more try on UserDir  
Lil' Abner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-04 06:33 PM

Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in news:c6e1l7$b425b$2
@ID-18487.news.uni-berlin.de:

> Lil' Abner <blvstk@dogpatch.com> wrote: 
>
> That's correct. The web directory have to be world-readable and
> world-executable.
> 
>
> Ok, if I do www.whatever/~ted I got a "linus.localdomain could
> not be found", if I use www..../~ted/ (note the last '/'), it works
> perfectly. So is a matter of trailing slashes.
> Check your UserDir and your <Directory ...> settings for trailing
> slashes.

Thank you! I just put the slash on there and it worked for me too. My
Userdir is just "UserDir web"
The other one is <Directory /home/*/web>
No slashes on either one. I tried *adding* slashes but it made no
difference. But you have given me hope... thanks again!

--
I child-proofed my house but they are still getting in.





[ Post a follow-up to this message ]



    Re: One more try on UserDir  
Lil' Abner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-04 07:33 PM

"Lil' Abner" <blvstk@dogpatch.com> wrote in
news:Xns94D57FC23FBE8butter@216.196.105.138:

> Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in
> news:c6e1l7$b425b$2 @ID-18487.news.uni-berlin.de:
> 
>
>   Thank you! I just put the slash on there and it worked for me too.
>   My
> Userdir is just "UserDir web"
> The other one is <Directory /home/*/web>
> No slashes on either one. I tried *adding* slashes but it made no
> difference. But you have given me hope... thanks again!

I have it working now. The only thing that is changed now from the way
I had it was that the ServerName was still commented from the original
httpd.conf setup. I uncommented it and changed it to "www.mewnlite.com".
What prompted me to do that was your comment about "linus.localdomain". I
didn't think that was something the world was supposed to see... :-)
I don't know if that had anything to do with my original problem or
not but it works now!




--
I child-proofed my house but they are still getting in.





[ Post a follow-up to this message ]



    Re: One more try on UserDir  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-04 07:33 PM

Lil' Abner <blvstk@dogpatch.com> wrote:
> httpd.conf setup. I uncommented it and changed it to "www.mewnlite.com".

He was probably unable to find his own servername, and that lead to
strange behavour in processing 'incomplete' requests. For 'incomplete'
I mean a request where is not clear if you are asking for a specific
file or for a directory (so a 'default' file).

Davide

--
| I have seen the future and it is just like the present, only longer.
|
|
|





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:44 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register