US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 09-20-2012, 02:47 AM   #1
Junior Member
 
Join Date: Sep 2012
Posts: 3
brtk is on a distinguished road
Default Nginx problem (13: Permission denied) | Don't load CSS & Images

Hello,

I have Debian 6.0 and ISPManager Lite. I used Apache 2.2.16 from Debian repo and now install & enable nginx from Applications.. now I have problems with permissions - websites don't load css & images (ex. wordpress, only clean html).

Logs (phpmyadmin):

Quote:
012/09/20 01:07:38 [error] 11979#0: *295 open() "/var/www/TEST/data/www/TEST.COM/myadmin/themes/original/img/b_selboard.png" failed (13: Permission denied), client: XX.XX.XX.XX, server: TEST.COM, request: "GET /myadmin/themes/original/img/b_selboard.png HTTP/1.1", host: "TEST.COM", referrer: "http://TEST.COM/myadmin/navigation.php?token=96961ef18f6096991e4f3497d1e85 d87"

TEST.COM - my domain
XX.XX.XX.XX - my client IP

How I can fix problem with permissions on my VPS?
brtk is offline   Reply With Quote
Old 09-20-2012, 04:30 PM   #2
Junior Member
 
Join Date: Sep 2012
Posts: 3
brtk is on a distinguished road
Default

BTW: All work good on 81 port, ex mysitename.com:81 - nginx load images and others.
brtk is offline   Reply With Quote
Old 09-20-2012, 09:16 PM   #3
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

You should check file permissions to /var/www/TEST/data/www/ and bellow folders, it should be 755 (others must can read files, because nginx works with www or nobody user rights)
slava is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:41 PM.