Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: vdradmin behind Apache 2.x - access denied -- Part II
Karlheinz Blank wrote:
Hi,
sorry for hijacking another thread -- I accidentally replied to the Roadmap
posting/thread instead of starting a new thread...SORRY! So if anybody can
help me with my Apache/vdradmin problem - solution approaches still very
welcome. Pls don't respond to my former posting any longer don't annoy them
furthermore.
----
Problem still is:
The 'standard' Apache (2.0.47) web-site runs as expected; if I try to access
http://localhost/vdradmin I get an 'access forbidden' error 403.
Apache and vdradmin are running on the same machine. Access to vdradmin and
apache is possible locally and from remote as well.
The error Log is telling me:
[Mon Jan 05 21:50:21 2004] [warn] proxy: No protocol handler was valid for the
URL /vdradmin. If you are using a DSO version of mod_proxy, make sure the
proxy submodules are included in the configuration using LoadModule.
In my httpd.conf i've the following:
<VirtualHost *>
RewriteEngine On
RewriteRule ^/vdradmin/left.html http://localhost:8001/left.html [P,L]
RewriteRule ^/vdradmin(.*) http://localhost:8001$1 [P,L]
</VirtualHost>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
##### do I really need this?!?!? Seems to be a high security risk.
Optionally I added also this section (as I didn't understand in the INSTALL
file if this section needs to be added only in Apache 1.x installations)
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPass /vdradmin/ http://localhost:8001/
</IfModule>
In the sysconfig/apache2:
APACHE_MODULES="access actions alias auth auth_dbm autoindex cgi dir env
expires include log_config mime negotiation setenvif ssl suexec userdir php4
proxy html_proxy rewrite"
Thx. Charlie
Well, I've not used the proxy module, but out of curiosity I took a look
at its documentation
http://httpd.apache.org/docs-2.0/mod/mod_proxy.html
and I wondered about two things:
- You might try http://localhost/vdradmin/ <---!
- You might try using the plain example they state in that document;
like they don't have any rewriterules there that I saw. Based on what
they say, I'd figure you better stay clear of it:
`The great thing about mod_rewrite is it gives you all the configurability and flexibility of Sendmail. The downside to mod_rewrite is that it gives you all the configurability and flexibility of Sendmail.''
-- Brian Behlendorf
Apache Group
`` Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo. ''
-- Brian Moore
bem@news.cmc.net
And pliiz calm down. Sounds like what you're trying to do is pretty
standard. I'd say your chances of success are pretty good :).
Ari
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index