You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Esterle <ee...@nc.rr.com> on 2005/04/03 22:19:09 UTC

[users@httpd] config question

I am trying to incorporate additional sites into an existing Apache2
server that already has a Plone catchall rewrite rule.  Specifically, I
am trying to get Gallery working.  I can get one or the other working
fine, and I can get both working by way of a rewrite rule for Gallery
but it breaks the image path and no images show up.  I have tried the
following but neither is allowing both sites to function correctly
simultaneously:

RewriteCond %{REQUEST_URL} ^$ [OR]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^/(.*) \
   
http://localhost:8080/VirtualHostBase/http/my-site.org:80/gentoo/VirtualHostRoot/$1
[L,P]

==============================

RewriteRule ^/local/ - [L]
RewriteRule ^/icons/ - [L]
RewriteRule ^/~(.*) - [L]
RewriteRule ^/cgi-bin/ - [L]
RewriteRule ^/(.*) \
   
http://localhost:8080/VirtualHostBase/http/my-site.org:80/gentoo/VirtualHostRoot/$1
[L,P]

If you have been through this already I could use some help.  Thanks,

Eric

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org