I have a internal networked webcam (server built in) at IP address 192.168.0.x and I would like it to appear as a directory off my main server. So, if my main server is
www.mydomain.com i would like requests for
www.mydomain.com/camera to go to the internal webcam server at 192.168.0.x. Ok, so people said I should try mod_rewrite and I did this is the rule:
RewriteEngine on
RewriteBase 192.168.0.8/
RewriteRule ^/camara(.*)
http://192.168.0.8/path/to/$1 [P,L]
but I get this error:
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 893 of /etc/httpd/conf/httpd.conf:
RewriteBase: only valid in per-directory config files
[FAILED]
What am I doing wrong? please help!
RH9 apache 2.0...