# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
Include conf/extra/httpd-default.conf
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
### Discuz!EXP Web Server Settings
Listen 80
ServerName www.jianlin01.com
ServerAdmin jianlinxp@QQ.com
ServerRoot "D:\123\Apache2"
DocumentRoot "E:\jianlin01"
LoadModule php5_module "D:\123\PHP5\php5apache2_2.dll"
PHPIniDir "D:\123\PHP5\php.ini"
<Directory "E:\jianlin01">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /icons/ "D:\123\Apache2\icons\"
<Directory "D:\123\Apache2\icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin jianlinxp@QQ.com
DocumentRoot "E:\jianlin01"
ServerName www.jianlin01.com
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/archiver/([a-z0-9-]+.html)$ $1/archiver/index.php?$2
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+).html$ $1/forumdisplay.php?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/viewthread.php?tid=$2&extra=page%3D$4&page=$3
RewriteRule ^(.*)/profile-(username|uid)-(.+).html$ $1/viewpro.php?$2=$3
RewriteRule ^(.*)/space-(username|uid)-(.+).html$ $1/space.php?$2=$3
</IfModule>
</VirtualHost>