httpd.conf
ServerName caph
AddDefaultCharset GB2312
NameVirtualHost *
ServerAdmin [email protected]
DocumentRoot /www
ServerName 210.72.203.226
AllowOverride None
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
ServerAdmin [email protected]
DocumentRoot /www/caphbook
ServerName www.caphbook.com
ServerAlias caphbook.com caphbook.com.cn www.caphbook.com.cn
ErrorLog logs/caphbook.com-error_log
CustomLog logs/caphbook.com-access_log common
#
# ServerAdmin [email protected]
# DocumentRoot /www/caphit
# ServerName www.aphit.com.cn
# ServerAlias aphit.com.cn
#
# Options Indexes
#
#
#mail
ServerAdmin [email protected]
DocumentRoot /www/igenus
ServerName mail.caphbook.com
ServerAlias mail.caphbook.com.cn mail.aphit.com.cn
ErrorLog logs/mail-error_log
CustomLog logs/mail-access_log common
ssl.conf
此后
service httpd restart
chkconfig --level 345 httpd on
php.ini
register_globals = On
max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
memory_limit = 20M
php.ini
LimitRequestBody 52428800
apache配置完毕
ServerName caph
AddDefaultCharset GB2312
NameVirtualHost *
ServerAdmin [email protected]
DocumentRoot /www
ServerName 210.72.203.226
AllowOverride None
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
ServerAdmin [email protected]
DocumentRoot /www/caphbook
ServerName www.caphbook.com
ServerAlias caphbook.com caphbook.com.cn www.caphbook.com.cn
ErrorLog logs/caphbook.com-error_log
CustomLog logs/caphbook.com-access_log common
#
# ServerAdmin [email protected]
# DocumentRoot /www/caphit
# ServerName www.aphit.com.cn
# ServerAlias aphit.com.cn
#
# Options Indexes
#
#
ServerAdmin [email protected]
DocumentRoot /www/igenus
ServerName mail.caphbook.com
ServerAlias mail.caphbook.com.cn mail.aphit.com.cn
ErrorLog logs/mail-error_log
CustomLog logs/mail-access_log common
ssl.conf
此后
service httpd restart
chkconfig --level 345 httpd on
php.ini
register_globals = On
max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
memory_limit = 20M
php.ini
LimitRequestBody 52428800
apache配置完毕