Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerRoot "/opt/twlan/apache"
- Listen 80
- <IfModule mpm_winnt_module>
- ThreadsPerChild 200
- LoadModule alias_module modules/mod_alias.so
- LoadModule authz_host_module modules/mod_authz_host.so
- LoadModule deflate_module modules/mod_deflate.so
- LoadModule dir_module modules/mod_dir.so
- LoadModule headers_module modules/mod_headers.so
- LoadModule log_config_module modules/mod_log_config.so
- LoadModule mime_module modules/mod_mime.so
- LoadModule setenvif_module modules/mod_setenvif.so
- LoadFile bin/php4ts.dll
- LoadModule php4_module bin/php4apache2.dll
- Win32DisableAcceptEx
- </IfModule>
- <IfModule !mpm_winnt_module>
- LoadModule php4_module modules/libphp4.so
- User nobody
- Group nogroup
- </IfModule>
- ServerAdmin you@example.com
- ServerName localhost
- DocumentRoot "../htdocs"
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- </Directory>
- <Directory "/opt/twlan/htdocs">
- Options Indexes FollowSymLinks
- AllowOverride Limit Options
- Order allow,deny
- Allow from all
- </Directory>
- <IfModule dir_module>
- DirectoryIndex index.php index.html
- </IfModule>
- <FilesMatch "^\.ht">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- ErrorLog "logs/error_log"
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- <IfModule log_config_module>
- LogFormat "%h %l %u %t \"%r\" %>s %b" common
- # CustomLog "logs/access_log" common
- </IfModule>
- DefaultType text/plain
- <IfModule mime_module>
- TypesConfig conf/mime.types
- </IfModule>
- <IfModule php4_module>
- PHPIniDir "/opt/twlan/php/php.ini"
- AddHandler application/x-httpd-php .php
- </IfModule>
- #EnableMMAP off
- #EnableSendfile off
- # deflate
- <Location />
- SetOutputFilter DEFLATE
- # Netscape 4.x has some problems...
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- # Netscape 4.06-4.08 have some more problems
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
- # MSIE masquerades as Netscape, but it is fine
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
- #__SetEnvIfNoCase Request_URI \
- #__ \.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|avi|mp?g)$ no-gzip dont-vary
- Header append Vary User-Agent env=!dont-vary
- </Location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement