Nginx中访问新建虚拟主机出现403 forbidden错误
1:出现此种错误的原因有可能是所有者对目录没有写的权限,此时可用chmod 777 目录名 先完全放开权限,如果问题解决,则在慢慢缩小访问权限。(特别注意目录的用户和用户组是什么?如果不符, 使用chown修改)
2:在配置中默认不执行index.php ,默认部分如下:
|
location / { |
只需要改成如下即可:
|
location / { |
当然要重启nginx服务器。
然后访问页面就正常,不会出现403 forbidden 错误。一切正常!
路过朋友的空间,关注青海大地震,让我们团结一致
路过朋友的空间,踩踩!关注青海大地震,让我们团结一致(:欢迎回访~
I’ve been ripping songs off of videos using video2mp3 for a really long while and then a week ago, I got a computer virus–but I don’t think it was from ripping but could it be? Also, if the songs are already on my iPod, does the iPod retain the virus as well yet is just unaffected by the virus? I saved all my music files on a flash drive before I reformatted my computer and I haven’t installed any anti virus software yet–should I reload all my files or no?
_____________
cheap xbox 360 games
I’ve always had no problems with getting internet on my computer. Now I can’t connect. I’ve checked and everything is plugged in. I don’t think it is a problem with the cables because I don’t get the message “Local cable disconnected”. All the other computers in my house are working fine. I think that something is wrong with the actual computer. I had a trojan (InternetSecurity2010) before that happened, maybe that has something to do with it? I’ve tried Internet Explorer, Firefox, and Safari. Other odd things are happening too…after a few hours or so none of the applications will work (iTunes, microsoft word, etc) and a lot of the words start to disappear. Likeee, the start button at the bottom left corner doesn’t say start, it just is a green blob and when you click on it, it only shows the picture for each application. I’ve run spybot and malwarebytes scans and they both came up with nothing. I dont have any actual antivirus to run because I was in the middle of downloading Kaspersky Anti Virus when it happened and whenever I put in the code, it says that it can’t download because it can’t access the internet. Any ideas?
_____________
cheap xbox 360 games
Are Online Virus Scan such as Housecall and OneCare Safety scanner just as effective to their Manual antivirus scan counterparts? Can you also give me some good Online Scanners? Thanks for the most informative answer! 10 points for the best!
_____________
cheap xbox 360 games
来了,留个脚印。。。
i got a virus n it wont let my screen come on in safe mode, i booted it in safe mode from msconfig now my screen is off n wont come on n i dont no what to do
_____________
cheap xbox 360 games
用了,学习了。thx.
Great post, and so very true.
I’m excited about this.
What a splendid article!
You are a beautyful inspiration many times for me and specially your poems!
wooow!! the pen and the ink and the words of wisdom
What’s Happening every body, fine message board I find It quite helpful and it’s helped me out a lot
I hope to contribute and help other people like this chat board has helped me
_________________
iphone forum
Your journey and blog are radiant.