Subversion Repositories configs

Rev

Rev 132 | Rev 143 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 132 Rev 142
Line 132... Line 132...
132
# Change this to Listen on specific IP addresses as shown below to 
132
# Change this to Listen on specific IP addresses as shown below to 
133
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
133
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
134
#
134
#
135
#Listen 12.34.56.78:80
135
#Listen 12.34.56.78:80
136
Listen 80
136
Listen 80
-
 
137
Listen 8000
137
 
138
 
138
#
139
#
139
# Dynamic Shared Object (DSO) Support
140
# Dynamic Shared Object (DSO) Support
140
#
141
#
141
# To be able to use the functionality of a module which was built as a DSO you
142
# To be able to use the functionality of a module which was built as a DSO you
Line 1000... Line 1001...
1000
# VirtualHost example:
1001
# VirtualHost example:
1001
# Almost any Apache directive may go into a VirtualHost container.
1002
# Almost any Apache directive may go into a VirtualHost container.
1002
# The first VirtualHost section is used for requests without a known
1003
# The first VirtualHost section is used for requests without a known
1003
# server name.
1004
# server name.
1004
#
1005
#
1005
#<VirtualHost *:80>
1006
<VirtualHost *:80>
1006
#    ServerAdmin webmaster@dummy-host.example.com
1007
    RewriteEngine on
1007
#    DocumentRoot /www/docs/dummy-host.example.com
1008
    RewriteLog "/var/log/httpd/rewrite.log"
1008
#    ServerName dummy-host.example.com
1009
    RewriteLogLevel 4
-
 
1010
 
-
 
1011
    #RewriteCond %{REMOTE_ADDR} !^10\.192\.25\.[0-9]+$
1009
#    ErrorLog logs/dummy-host.example.com-error_log
1012
    #RewriteCond %{REMOTE_ADDR} ^10\.192\.25\.254$
1010
#    CustomLog logs/dummy-host.example.com-access_log common
1013
    RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R=301,L]
-
 
1014
</VirtualHost>
-
 
1015
 
-
 
1016
<VirtualHost *:8000>
-
 
1017
    DocumentRoot "/var/www/html"
1011
#</VirtualHost>
1018
</VirtualHost>
1012
 
1019
 
1013
<Files upsset.cgi>
1020
<Files upsset.cgi>
1014
allow from all
1021
allow from all
1015
</Files>
1022
</Files>
1016
 
1023