Apache question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Sorry about this thread. I didn't know where else to post. The apache
server currently expands "tilda" but won't accept a full path:
http://storm/~megauser/image.jpg  works
http://storm/export/home/megauser/image.jpg doesn't work

Is there any way to tweak the apache so that the second URL will work.

Many thanks

Re: Apache question

soup_or_power@yahoo.com wrote:

Quoted text here. Click to load it


Els                     http://locusmeus.com /
Sonhos vem. Sonhos vo. O resto imperfeito.
                             - Renato Russo -
Now playing: Mr. Big - Wild World

Re: Apache question

soup_or_po...@yahoo.com wrote:
Quoted text here. Click to load it

Awe crap, I thought this was a thread about Indians.  Nevermind


Re: Apache question

While the city slept, Travis Newbury (TravisNewbury@hotmail.com) feverishly

Quoted text here. Click to load it

And I thought it was about the music of Hank Marvin! ;-)


Nigel Moss
Mail address not valid. nigel@DOG.nigenet.org.uk, take the DOG. out!
In the land of the blind, the one-eyed man is very, very busy!

Re: Apache question

On Thu, 21 Apr 2005 09:49:00 -0700, soup_or_power wrote:

Quoted text here. Click to load it

Ok, I'll try to help

I suspect Apache says something like access deined.  If so you need to add
a directory command for that to work.

Something like this:
<Directory /storm/export/home/megauser/>
        Order Deny,Allow
        Allow from all

This is usally placed into the VirtualHost part of the configuration file.

You may also need other options according to what your trying to

If this doesn't work then I will need to see your config file httpd.conf

The reason the tilda works is because Apache's configuration has users
home directories enabled.

Tayo'y Mga Pinoy

Re: Apache question

soup_or_power wrote:

Quoted text here. Click to load it

Errr.... D'oh! You're completely misunderstanding how Apache maps URLs
onto the filesystem.

Hint: "http://storm/foo.html" does not correspond to the file "/foo.html".
It probably corresponds to something like "/var/www/html/foo.html".

So if you access "http://storm/export/home/megauser/image.jpg" it won't
look for "/export/home/megauser/image.jpg", but rather it will look for

Read this to get started:

Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact

Site Timeline