PDA

View Full Version : Redirecting requests from apache to zope at port 8080



nandoquintana
10-19-2006, 03:03 PM
Hi all,

I have a Zope server in the 8080 and also the preconfigurated apache.

I think .htaccess is the only method we have to perform a redirection from apache to 8080 port so...

I tried that, in the "/home/username/www/subdomain/.htaccess" file

RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.domain.com$ [NC]
RewriteRule ^/(.*)$ http://127.0.0.1:8080/$1 [P,L]

but fails...

Have anyone ever done something like that in a hotsmonster server?
Is 8080 por reachable from Internet?
Is it posible to modify any other apache conf file?

Many thanks in advance,
Nando.

JTStern
10-19-2006, 07:08 PM
ive tried to mask my domain using mod_rewrite in .htaccess just like that (sort of)- no luck.

Benjamin
10-20-2006, 09:17 PM
Unfortunately, additional ports such as 8080 are closed by default on our shared IPs, for security reasons. You are more than welcome to do this with a dedicated IP, which is an extra $30/year, and allows you both outbound connections and open nonstandard ports.