I have exhausted figuring out something that should be very simple to do via httpd.conf configuration.
1. Have all requests via port 80 to be redirected to localhost:8080 (i.e. serve plone site)
2. Have all other requests other than /plone* forwarded to the index.htm file in the root /var/ folder
I would think that this is a VERY basic configuration? Base VH configuration works fine but only performs the /plone redirect on port 8080; I’ve tried dozens and dozens of other configs to serve the /var/ file.
Listen 80
...
NameVirtualHost *:80
...
</VirtualHost *:80>
ServerName DocumentRoot /var/ RewriteEngine On
RewriteRule ^/(.*) [L,P]
</VirtualHost>
I'd also be willing to open a port for each, if that would work. However, I cannot start Apache with a “double listen” (e.g. “Listen 80” [next line] “Listen 10080”)
Help?
-Wendi
(Apache on Fedora Core 5)
Hosts File:
127.0.0.1 localhost.localdomain localhost
127.0.0.1
1. Have all requests via port 80 to be redirected to localhost:8080 (i.e. serve plone site)
2. Have all other requests other than /plone* forwarded to the index.htm file in the root /var/ folder
I would think that this is a VERY basic configuration? Base VH configuration works fine but only performs the /plone redirect on port 8080; I’ve tried dozens and dozens of other configs to serve the /var/ file.
Listen 80
...
NameVirtualHost *:80
...
</VirtualHost *:80>
ServerName DocumentRoot /var/ RewriteEngine On
RewriteRule ^/(.*) [L,P]
</VirtualHost>
I'd also be willing to open a port for each, if that would work. However, I cannot start Apache with a “double listen” (e.g. “Listen 80” [next line] “Listen 10080”)
Help?
-Wendi
(Apache on Fedora Core 5)
Hosts File:
127.0.0.1 localhost.localdomain localhost
127.0.0.1