[ale] question about user references under Apache
Agent Durga
durga at burntmedia.org
Sat Oct 21 06:41:35 EDT 2000
alrighty....so far everything is going fine with Apache as far as the main
site goes, but i'm having a bit of trouble when it comes to user
/public_html/. They show up just fine if the permissions are set
correctly by the user, however i am having a "reference" problem. On the
main site, the same .css file is used everywhere, and it's referenced this
way: /style/style1.css
now....if a user sets up their public_html dir with a style directory and
references that their stylesheet in a similar fashion (aka
/style/mystyle.css) Apache takes that reference as off the document root
of the entire website and thus can't find the file, because it's not
there...
i've tried using ~/style/mystyle.css, but it's not just isolated to
referencing a stylesheet, as images referenced to /images or ~/images
don't work either.
so i'm beginning to think that it's an apache config issue....anyone have
any ideas?.....i've put a site together for a buddy of mine that has an
account on my server and i can get it to work using ../ references all
over the place, but depending on how many subdirectories he makes or
wants, it could get way hairy way too fast....i figured i'd get him going
before i bothered with my own user webpage.....
i know it's not the code, because i can move his site into the document
root and it works just fine......
<shrug>
????
-d
--
The best book on programming for the layman is "Alice in Wonderland";
but that's because it's the best book on anything for the layman.
***************************************************************************
durga at burntmedia.org http://www.burntmedia.org
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list