Ich würde gerne in einer Unterseite eines bestehenden Webauftritts ( z.B. http://www.hauptdomain.de/unterverzeichnis) einen anderen Webauftritt (z.B. http://www.andererwebauftritt.de) einblenden.
dazu habe ich die Apachemodule proxy, proxy_connect und proxy_http installiert:
in die "/etc/apache2/mods-available/proxy.load" habe ich folgendes geschrieben:# cd /etc/apache2/mods-enabled
# ln -s ../mods-available/proxy_connect.load proxy.load
# ln -s ../mods-available/proxy_connect.load proxy_connect.load
# ln -s ../mods-available/proxy_connect.load proxy_http.load
Wenn ich jetzt auf "http://www.hauptdomain.de/unterverzeichnis" gehe, kommt die Browser-Meldung:<IfModule mod_proxy.c>
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.
ProxyRequests On
ProxyPass /unterverzeichnis http://www.andererwebauftritt.de
<Proxy *>
AddDefaultCharset off
Order deny,allow
Deny from all
# Define the character set for proxied FTP directory listings
#ProxyFtpDirCharset UTF-8
</Proxy>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
ProxyVia On
</IfModule>
"/var/log/apache2/error.log" sagt dann:Forbidden
You don't have permission to access /filemanaging/ on this server.
Apache Server at 195.225.106.98 Port 80
daher habe ich im Confixx unter httpd-Optionen folgendes eingefügt:[Mon May 10 17:34:16 2010] [error] [client 12.231.128.109] Directory index forbidden by Options directive: /var/www/web0/html/unterverzeichnis/
Und dann ein File "/var/www/web0/html/unterverzeichnis/.htaccess" mit folgendem inhalt angelegt:<Directory "/var/www/web0/html/unterverzeichnis/">
<Files ~ "^\.ht">
Allow from all
</Files>
AllowOverride all
Options -Indexes +FollowSymlinks +includes
DirectoryIndex index.php
php_admin_value open_basedir /
PHP_ADMIN_FLAG safe_mode off
php_flag magic_quotes_gpc on
</Directory>
Trotzdem erhalte ich obige Fehlermeldungen in Browser und Logs. Könnt ihr mir hier kurz auf die Sprünge helfen ? Wäre super nett.Allow from all
Gruß
Poc
