Changeset 301
- Timestamp:
- 02/06/07 17:07:43
(2 years ago)
- Author:
- nuxwin
- Message:
- CONFIGS:
- Edit "httpd.conf" and "vhcs2.base.tpl"
=> added Handler "default-vhcs" (for vhcs working)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r300 |
r301 |
|
| 1 | 1 | # httpd Data BEGIN. |
|---|
| 2 | | NameVirtualHost * |
|---|
| | 2 | |
|---|
| 3 | 3 | # |
|---|
| 4 | 4 | # wget-hack prevention |
|---|
| 5 | 5 | # |
|---|
| | 6 | |
|---|
| 6 | 7 | <IfModule mod_rewrite.c> |
|---|
| 7 | 8 | RewriteEngine on |
|---|
| … | … | |
| 9 | 10 | RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] |
|---|
| 10 | 11 | </IfModule> |
|---|
| | 12 | |
|---|
| 11 | 13 | # |
|---|
| 12 | 14 | # Web traffic accounting. |
|---|
| … | … | |
| 40 | 42 | </Directory> |
|---|
| 41 | 43 | |
|---|
| | 44 | <IfModule mod_fastcgi.c> |
|---|
| 42 | 45 | # GLOBAL VHCS PHP-CGI (Just for vhcs) |
|---|
| 43 | 46 | # The php.ini for this is in /etc/php4/cgi |
|---|
| … | … | |
| 53 | 56 | Allow from all |
|---|
| 54 | 57 | </Directory> |
|---|
| | 58 | </IfModule> |
|---|
| 55 | 59 | |
|---|
| 56 | 60 | # |
|---|
| … | … | |
| 68 | 72 | Allow from all |
|---|
| 69 | 73 | </Directory> |
|---|
| 70 | | |
|---|
| | 74 | |
|---|
| | 75 | <IfModule mod_fastcgi.c> |
|---|
| 71 | 76 | Action default-vhcs /default-vhcs/php |
|---|
| 72 | 77 | AddHandler default-vhcs .php |
|---|
| 73 | 78 | AddType application/x-httpd-default-vhcs .php |
|---|
| | 79 | </IfModule> |
|---|
| 74 | 80 | |
|---|
| 75 | 81 | </VirtualHost> |
|---|
| r300 |
r301 |
|
| 1 | 1 | # httpd Data BEGIN. |
|---|
| 2 | | NameVirtualHost * |
|---|
| | 2 | |
|---|
| 3 | 3 | # |
|---|
| 4 | 4 | # wget-hack prevention |
|---|
| 5 | 5 | # |
|---|
| | 6 | |
|---|
| 6 | 7 | <IfModule mod_rewrite.c> |
|---|
| 7 | 8 | RewriteEngine on |
|---|
| … | … | |
| 9 | 10 | RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] |
|---|
| 10 | 11 | </IfModule> |
|---|
| | 12 | |
|---|
| 11 | 13 | # |
|---|
| 12 | 14 | # Web traffic accounting. |
|---|
| … | … | |
| 40 | 42 | </Directory> |
|---|
| 41 | 43 | |
|---|
| | 44 | <IfModule mod_fastcgi.c> |
|---|
| 42 | 45 | # GLOBAL VHCS PHP-CGI (Just for vhcs) |
|---|
| 43 | 46 | # The php.ini for this is in /etc/php4/cgi |
|---|
| … | … | |
| 53 | 56 | Allow from all |
|---|
| 54 | 57 | </Directory> |
|---|
| | 58 | </IfModule> |
|---|
| 55 | 59 | |
|---|
| 56 | 60 | # |
|---|
| … | … | |
| 68 | 72 | Allow from all |
|---|
| 69 | 73 | </Directory> |
|---|
| 70 | | |
|---|
| | 74 | |
|---|
| | 75 | <IfModule mod_fastcgi.c> |
|---|
| 71 | 76 | Action default-vhcs /default-vhcs/php |
|---|
| 72 | 77 | AddHandler default-vhcs .php |
|---|
| 73 | 78 | AddType application/x-httpd-default-vhcs .php |
|---|
| | 79 | </IfModule> |
|---|
| 74 | 80 | |
|---|
| 75 | 81 | </VirtualHost> |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>