Hello all, I'm a complete noob to Ubuntu and Apache.. and am trying to get ProxyPassReverse to work but with no luck. I've Googled but still can't seem to get it to work. This is what I have gotten so far...
1. I've got Ubuntu 9.10 running in a Virtual Machine
2. Installed Apache 2.2
3. Enabled Mod Proxy (sudo a2enmod proxy)
4. Restarted Apache (sudo init.d/etc/apache2 restart)
I get this comment:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
5. Insert the following at the very bottom (but before </VirtualHost> tag) of my default file (sudo gedit /etc/apache2/sites-available/default)
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /test http://www.google.com
ProxyPassReverse /test http://www.google.com
6. I then save the file and go to http://localhost/test
7. I get the following message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Any help is much appreciated!
Bookmarks