I know this should be very basic and simple in theory, but I need to complete this task, I'm new to this and for some reason I can't find a suitable example that works for me.
I have installed Apache http server. Uncommented the following line
LoadModule proxy_module modules/mod_proxy.so
in file "httpd.conf" and overwritten file conf\extra\httpd-vhosts.conf with the following:
NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin email@example.com DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost" ServerName 127.0.0.1:80 ProxyRequests off ProxyPass /feature http://x.com/ ProxyPassReverse /feature https://x.com/ ProxyPassReverseCookieDomain x.com localhost ErrorLog "logs/dummy-host.localhost-error.log" CustomLog "logs/dummy-host.localhost-access.log" common <Directory "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/docs/dummy-host.localhost"> AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> </VirtualHost>
I restarted the apache service, now I go to :
The requested URL /feature was not found on this server.
What could be wrong with this set up? Is there something else I need to configure?