Organizational Research By

Surprising Reserch Topic

Question:How to create a virtual host in Apache conf


Virtual Host creation syntax with different port number

asked Sep 13, 2013 in Java Interview Questions by anonymous
edited Sep 12, 2013
0 votes
21 views



Related Hot Questions

4 Answers

0 votes

 

Listen PORT
 
ServerName DOMAIN_NAME
 RewriteEngine On
 
        DocumentRoot DOC_ROOT_PATH
       
                Options +Indexes
                AllowOverride all
                Order allow,deny
                Allow from all
                FileETag MTime Size
                SetOutputFilter DEFLATE
                BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch ^Mozilla/4\.0[678] no-gzip
                BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
       
 
 
 
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013
0 votes
Listen {PORT} ServerName {DOMAIN_NAME} RewriteEngine On DocumentRoot {DOC_ROOT_PATH} Options +Indexes AllowOverride all Order allow,deny Allow from all FileETag MTime Size SetOutputFilter DEFLATE BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013
0 votes

 

Listen PORT
 
ServerName DOMAIN_NAME
 RewriteEngine On
 
        DocumentRoot DOC_ROOT_PATH
       
                Options +Indexes
                AllowOverride all
                Order allow,deny
                Allow from all
                FileETag MTime Size
                SetOutputFilter DEFLATE
                BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch ^Mozilla/4\.0[678] no-gzip
                BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
       
 
 
 
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013
0 votes
Listen {PORT} ServerName {DOMAIN_NAME} RewriteEngine On DocumentRoot {DOC_ROOT_PATH} Options +Indexes AllowOverride all Order allow,deny Allow from all FileETag MTime Size SetOutputFilter DEFLATE BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013

...