HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   website rights (http://www.howtoforge.com/forums/showthread.php?t=60548)

teratoon 13th February 2013 16:43

website rights
 
In lin http://www.carolim.ee/pildid i want filelist with read rights, right now is error, which .htaccess or apache conf file forbidding that ?

In log: Permission denied: /var/www/carolim.ee/web/pildid/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

made in folder .httaccess allow from all, but nothing.

What im missing.

till 13th February 2013 16:45

The error is about the folder permissions or .htaccess filepermissions,it is not about the content of the .htaccess file. Please post the output of:

ls -la /var/www/carolim.ee/web/pildid

teratoon 13th February 2013 16:49

drwxr--r-- 18 web7 client5 4096 Feb 13 16:22 .
drwx--x--- 30 web7 client5 4096 Feb 13 14:16 ..
-rwxr--r-- 1 web7 client5 68119 Dec 9 18:06 1CP9.024.01_2.jpg
-rwxr--r-- 1 web7 client5 10313 Dec 9 18:06 A6 C5 velg.jpg
-rwxr--r-- 1 web7 client5 10424 Dec 9 18:06 AHK_295x100_liitusime.gif
-rwxr--r-- 1 web7 client5 11959 Dec 9 18:06 AHK_468x60_liitusime.gif
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 audi foorum
-rwxr--r-- 1 web7 client5 65847 Jan 2 12:31 Behr.jpg
-rwxr--r-- 1 web7 client5 8549 Dec 9 18:06 BMWavatar.jpg
drwxr--r-- 2 web7 client5 4096 Feb 13 13:51 bmw foorum
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 breck
-rwxr--r-- 1 web7 client5 192296 Dec 9 18:06 Caddy.JPG
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 campro
-rwxr--r-- 1 web7 client5 30014 Dec 9 18:06 Campro_cr.jpg
-rwxr--r-- 1 web7 client5 6229 Dec 9 18:06 Carolim291.jpg
-rwxr--r-- 1 web7 client5 70223 Dec 9 18:06 Carolim292.png
-rwxr--r-- 1 web7 client5 57759 Dec 9 18:06 Carolim29.png
-rwxr--r-- 1 web7 client5 34634 Dec 9 18:06 Carolim322.png
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 cgi-bin
-rwxr--r-- 1 web7 client5 70356 Dec 9 18:06 CLIPS.jpg
-rwxr--r-- 1 web7 client5 27261 Dec 9 18:06 E36 M Pakett kampaania_cr.jpg
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 ebay
-rwxr--r-- 1 web7 client5 11939 Dec 9 18:06 eesti-posti-logo.png
drwxr--r-- 18 web7 client5 4096 Dec 9 02:17 epood
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 Facebook
-rwxr--r-- 1 web7 client5 19494 Dec 9 18:06 Foorum.jpg
-rwxr--r-- 1 web7 client5 11954 Jan 2 12:37 fram_logo.jpg
drwxr--r-- 3 web7 client5 4096 Dec 9 02:17 hofele
-rwxrwxr-x 1 root root 107 Feb 13 16:34 .htaccess
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 jlm
-rwxr--r-- 1 web7 client5 5666 Dec 9 18:06 logo_en.png
-rwxr--r-- 1 web7 client5 33168 Dec 9 18:06 manhattan-skyline-picture_cr.JPG
-rwxr--r-- 1 web7 client5 89475 Dec 9 18:06 NƤidis VW Passat 4Motion.PDF
-rwxr--r-- 1 web7 client5 39677 Jan 2 12:19 ngk_sparkplugs.jpg
-rwxr--r-- 1 web7 client5 30405 Jan 2 12:23 NTK_sensors.jpg
-rwxr--r-- 1 web7 client5 19423 Dec 9 18:06 nukkvoll.jpg
drwxr--r-- 4 web7 client5 4096 Dec 9 02:17 osad
drwxr--r-- 7 web7 client5 4096 Dec 9 02:17 osta
-rwxr--r-- 1 web7 client5 129912 Dec 9 18:06 P8311555.jpg
-rwxr--r-- 1 web7 client5 53178 Jan 2 12:05 sachs_zf.jpg
-rwxr--r-- 1 web7 client5 3249331 Dec 9 18:06 Soiduautode tuublid.pdf
drwxr--r-- 5 web7 client5 4096 Dec 9 02:17 stanged
-rwxr--r-- 1 web7 client5 31422 Jan 2 12:39 tomtom-logo.jpg
drwxr--r-- 14 web7 client5 4096 Dec 9 02:17 tuled
-rwxr--r-- 1 web7 client5 15036879 Dec 9 18:06 veljekataloog_2012.pdf
-rwxr--r-- 1 web7 client5 71725 Dec 9 18:06 versokliima.jpg
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 vwfoorum
drwxr--r-- 2 web7 client5 4096 Dec 9 02:17 waes
-rwxr--r-- 1 web7 client5 61255 Jan 2 12:45 WSP_Italy.jpg

till 13th February 2013 16:55

Try this:

chown web5:client7 /var/www/carolim.ee/web/pildid/.htaccess

teratoon 13th February 2013 17:04

same error:(


All times are GMT +2. The time now is 09:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.