httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Keenan" <>
Subject [users@httpd] mod_proxy working on initial request, but not for subsequent resource requests
Date Sun, 10 May 2009 13:12:31 GMT
Hi All,


I have been struggling for several months now to try to allow my security
camera server be available through my internet connection. I am using
mod_proxy and its almost working, but not quite there.










ProxyRequests Off

ProxyPreserveHost On


<Proxy *>

    Order deny,allow

    Allow from all



<Location /cameras>



    AuthName "Secure Area"

    AuthType Basic

    AuthUserFile /var/www/.htpasswd

    Require user u01 u02









<VirtualHost *:80>

        ServerName mydomain.internal

        ServerAlias *.mydomain.internal

        DocumentRoot /var/www/html

        ErrorLog /var/log/httpd/error_log

        CustomLog /var/log/httpd/access_log combined

        RewriteEngine on

        RewriteCond %{SERVER_PORT} !^443$

        RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R]




With the above configuration, it appears to nearly work. When I navigate to:

I see the homepage for the camera system. However, none of the resources on
the page render correctly (eg: CSS or Images). Using a proxy inspector, I
can see that the HTML returned in the initial call to requests resources in the following way
(eg): <link rel="stylesheet" href="css.css" type="text/css">


but when I look at the browser requests back to the server, it is requesting instead of


What am I missing?


Thanks in advance for the help!






View raw message