Configuration configuration is always incorrect. It is always servo by mod_python, but the priority cannot be found. I went to the toilet and thought for a moment. Do you think there will be. htcaccess in the directory. When I checked it back, I found a. htcaccess file was hiding in the directory.
After the problem is fixed, the following error is returned. If you do not have the permission, directorindex cannot take effect. If you are depressed, try again and try again. Try to remove sethander. Haha, it's all right. It's really hard to figure it out here. PHP supports it by default. You don't need to write sethander, but when you used to configure Django, this option is required to configure a directory to support PHP. Now back up my configuration.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
Namevirtualhost 61.152.123165: 80 <Virtualhost> Server Admin 8863824@gmail.comServerName www. daybang. comdocumentroot/home/www/daybang<DirectoryHome daybang WWW></Directory> Options indexes followsymlinks multiviewsallowoverride noneorder allow, denyallow from all <DirectoryHome daybang WWW Medias> Order deny, allowallow from all </Directory><Locationmatch> Sethandler none </Locationmatch> Errorlog/var/log/apache2/daybang_error.loglevel warncustomlog/var/log/apache2/daybang_access.log combinedserversignature onsethandler Python-programpythonhandler Django. core. handlers. modpythonpythonpath "sys. path + ['/home/WWW'] + ['/home/www/Django-0.96'] "pythondebug onsetenv django_settings_module daybang. settingsalias/Media/home/www/daybang/mediaalias/medias/home/www/daybang/mediasalias/tenpay/home/www/daybang/tenpay <LocationMedia> Sethandler none</Location><LocationMedias> Sethandler none </Location><LocationTenpay> Sethandler application/X-httpd-phporder deny, allowallow from all</Location></Virtualhost><Virtualhost> Serveradmin 8863824@gmail.comServerName www. hhuai. cnserveralias hhuai.cn hn-go.com www. hn-go.comDirectoryIndex index. php index.html DocumentRoot/home/www/hhuai/WordPress # sethandler application/X-httpd-PHP <DirectoryHome WWW WordPress hhuai> Directoryindex index. php index.html # options indexes followsymlinks multiviewsallowoverride noneorder allow, denyallow from all</Directory><Locationmatch> Sethandler none </Locationmatch> Errorlog/var/log/apache2/hhuai_cn_error.logloglevel warncustomlog/var/log/apache2/hhuai_cn_access.log combined </Virtualhost> |