2
1
I would like to redirect some folder within apache2.
My webserver uses with plesk 11.
I followed this tutorial. It says I've got to put redirection rules in this file /etc/apache2/sites-available/default
. For my webserver this file doesn't even exist. I guess that's because of plesk's website management. However there is only this one file: 000-default
.
I did not modify it!
I also managed to locate the config file for my domain. Which is located here
/var/www/vhosts/example.org/conf/last_httpd.include
I want to solve my problem with Apache 2 "ProxyPass". Because I think that's the easiest way to solve the redirect.
As I found out, I have to add this line
ProxyPass /folder/map/ http://www.google.de
This does not work. It exits with error "403 forbidden". Please give me a hint. Thank you!
I really don't see in the given config anything about how to open
example.org/mc/map
URL. It handles/mc/map/up
,/mc/map/standalone
and/mc/map/tiles
, but not/mc/map
.Probably you need to remove temporarily this config and checkexample.org/mc/map
again – Sergey L – 2013-02-20T04:31:07.807@SergeyL You are right. I checked this. I think their tutorial is just wrong. So I edited my post. – Peter – 2013-02-24T16:39:00.460