proxy problem

General Discussion
  • #1
    1. I am not able to remove 4567 from http://subdomain:4567
      How to do it ?
      Steps I am following
      (a) Reading from here
      (b) Making subdomain.conf , keeping it inside /etc/apache2/conf.d/includes
      and attaching this line Include /etc/apache2/conf.d/includes/subdomain.conf into httpd.conf
      (c) Changing URL of config.json inside NodeBB folder to http://subdomain.conf

    Code which I am using in subdomain.conf is as follows :
    <VirtualHost *:80>
    RequestHeader set X-Forwarded-Proto "http"

    ProxyRequests off
    <Proxy *>
        Order deny,allow
        Allow from all
    RewriteEngine On
    RewriteCond %{REQUEST_URI}  ^/            [NC]
    RewriteCond %{QUERY_STRING} transport=websocket    [NC]
    RewriteRule /(.*)           ws://$1 [P,L]
    ProxyPass /
    ProxyPassReverse /


  • #2
    This post is deleted!

Suggested Topics

| | | |