Forum Moderators: phranque
For Apache:
.htaccess, which is in the root directory contains:
--------
RewriteEngine On
RewriteRule ^vlc$ [127.0.0.1:8080...] [P]
RewriteRule ^live$ [127.0.0.1:1234...] [P]
---------
The relevant (I believe) areas within httpd.conf are:
-------------
Listen 80
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo All
Order allow,deny
Allow from all
</Directory>
----------------
On the local server if I run a browser and open: [127.0.0.1...] I get index.html served by Apache. ie Apache is working correctly.
On the local server if I run a browser and open: [127.0.0.1:8080...] I get index.html served by VLC. ie VLC is serving http correctly.
On the local server if I run WMP and open url: [127.0.0.1:1234...] I get the video content streamed by VLC. ie VLC's streaming is working properly.
On the local server if I run a browser and open: [127.0.0.1...] I get no content and the error log shows that I got a 404 error. ie Apache is working correctly when I serve to an incorrect location.
On the local server if I run a browser and open: [127.0.0.1...] I get a 404 error. The Apache error log does not show any errors.
On the local server if I run WMP and open url: [127.0.0.1...] I get no content. The Apache error log does not show any errors.
Any help on the above that anyone can provide would be much appreciated.
...Jim