[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [RaQ3] CGI in user-directory: User not Privlid ged
- Subject: RE: [cobalt-users] [RaQ3] CGI in user-directory: User not Privlid ged
- From: Jonas Pasche <jonas@xxxxxxxx>
- Date: Thu Apr 6 00:47:20 2000
hi there,
> > I'd like to enable CGI-scripts for my siteusers but if I try
> > to execute a script, I get the following cgi-wrapper-message:
> > "User not Privlidged".
>
> Problem solved! Thanks to all.
>
Would you care to share, the solution?
daniel? where are you? :)
ok, that's the problem: everybody has the following line in httpd.conf to
rewrite users-urls to the right directory:
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
but what when you use another line this way? maybe...
AliasMatch ^/blah/([^/]+)(/(.*))? /home/sites/home/users/$1/web/$3
seems to be good, but then we have daniel's problem:
http://www.somedomain.com/users/somebody/test.pl -> works fine
http://www.somedomain.com/blah/somebody/test.pl -> DOESN'T work (but points
to the same directory on the raq3!)
so i GUESS (is someone there to prove that?) that the cgi-wrapper checks if
the script it shall run is...
(1) ...in the document root, and, if not,
(2) ...in /users/xyz/ or /~xyz/
just used the other url, that solved the problem. any comments are
appreciated, and i'd be happy about comprehensive documentation on the
cgi-wrapper because it OFTEN makes trouble, and "problems? well, then don't
use cgi-wrapper... take the old cgi-script-handler or a scriptalias" can't
be the solution everytime. it's good if things work, but it's better if
they work as secure as possible.
cya, jonas.
____________________________________________
Jonas Pasche
Technischer Support
webagentur Domke GmbH
Rheinstr. 3 - 64283 Darmstadt - Germany
Telefon +49 6151 17742-33
Telefax +49 6151 293173
http://www.domke.de
mailto:j.pasche@xxxxxxxx
____________________________________________