[users@httpd] config question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux