setup virtual host with proxy pass
Posted by: mpo (---.cpe.ge-0-1-0-1104.vonqu1.customer.tele.dk)
Date: August 15, 2012 02:11PM

I have a server running as my webserver with wamp. I am trying to make the sub domain hot.domain.com which should show an oracle apex application i have on another server called apexserver and that is running on port 8080.

i have in the httpd.conf file uncommented:
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so

and also

Include conf/extra/httpd-vhosts.conf

Then i have added the virtual host in the httpd-vhosts.conf:

<VirtualHost *:80>
ServerName hot.domain.com
ServerAlias hot.domain.com
RewriteEngine On
RewriteRule ^/$ /apex/f?p=291:LOGIN:4572830110234 [R=301,L]
ProxyPass /apex [apexserver]
ProxyPassReverse /apex [apexserver]
ProxyPass /i [apexserver]
ProxyPassReverse /i [apexserver]
</VirtualHost>

problem is when i try to restart the server the apache never gets started and the icon always end up being orange. Nothing is getting written into the error log so no help to get there.

I am trying to get the url hot.domain.com to redirect to the apexserver.com/apex/f?p=291:LOGIN:4572830110234

I would also like to know if it is possible to keep the url hot.domain.com regardless of the directory or page there is being watched in the application.

hope some one can help.

Options: ReplyQuote
Re: setup virtual host with proxy pass
Posted by: stevenmartin99 (Moderator)
Date: August 15, 2012 03:19PM

Use the command line to check for errors

httpd -E log.txt

Run this from the apache/bin path and the log will be in the apache folder

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.