This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How do I mask an unconventional subdomain port
#10
RE: How do I mask an unconventional subdomain port
If I try to restart apache with the custom vhost configured like above I get a syntax error saying it doesnt recognize ProxyPreserveHost

Code:
service apache2 restart
Syntax error on line 95 of /etc/sentora/configs/apache/httpd-vhosts.conf:
Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
  ...fail!
and thats with this subdomain custom vhost configuration

Code:
Domain Enabled x
Suhosin Enabled x
OpenBase Enabled x
Port Override: 8080
Forward Port 80 to Overriden Port:    X
Custom Entry:
ProxyPreserveHost On

  # setup the proxy
  <Proxy *>
      Order allow,deny
      Allow from all
  </Proxy>
  ProxyPass / http://sub.domain.com:8080/
  ProxyPassReverse / http://sub.domain.com:8080/
Reply
Thanks given by:


Messages In This Thread
RE: How do I mask an unconventional subdomain port - by elitemobb - 11-26-2014, 05:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Subdomain gbrain2008 3 7 ,641 03-08-2021, 05:34 PM
Last Post: ccr1969
Subdomain Not working PLZ HELP rajeevrrs 4 20 ,662 03-14-2020, 08:47 AM
Last Post: TGates
Sentora Subdomain Installl sathish2009 2 7 ,824 04-03-2017, 11:50 AM
Last Post: sathish2009

Forum Jump:


Users browsing this thread: 7 Guest(s)