S Smart Chevereto Noob Aug 31, 2009 #1 Hello, I would like to know how to lock the directory where the images are hosted, I want to read: translate image: access is not allowed in "images" Sorry, not allowed to access the root directory. Help me.
Hello, I would like to know how to lock the directory where the images are hosted, I want to read: translate image: access is not allowed in "images" Sorry, not allowed to access the root directory. Help me.
C clafy Chevereto Noob Sep 3, 2009 #5 Create a .htaccess file. Insert this: Code: <Files .*> order allow,deny deny from all </Files> AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi Options -ExecCGI All -Indexes MAKE SURE YOU UPLOAD THIS .HTACCESS TO YOUR "IMAGES" AND "THUMBS" FOLDER.
Create a .htaccess file. Insert this: Code: <Files .*> order allow,deny deny from all </Files> AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi Options -ExecCGI All -Indexes MAKE SURE YOU UPLOAD THIS .HTACCESS TO YOUR "IMAGES" AND "THUMBS" FOLDER.
S Smart Chevereto Noob Sep 5, 2009 #6 ppeared that personalized message Forbidden You do not have permission to access / image / images / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Click to expand... I want to an error page as it is: Example: http://www.clafy.com/images/
ppeared that personalized message Forbidden You do not have permission to access / image / images / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Click to expand... I want to an error page as it is: Example: http://www.clafy.com/images/
C clafy Chevereto Noob Sep 5, 2009 #7 Not sure if your version is the same as mine but try insert these into your htaccess file. ErrorDocument 400 /index.php?p=400 ErrorDocument 401 /index.php?p=401 ErrorDocument 403 /index.php?p=403 ErrorDocument 404 /index.php?p=404 ErrorDocument 500 /index.php?p=500 ErrorDocument 503 /index.php?p=503 *THE LINES ABOVE SHOULD BE IN YOUR ROOT'S HTACCESS FILE
Not sure if your version is the same as mine but try insert these into your htaccess file. ErrorDocument 400 /index.php?p=400 ErrorDocument 401 /index.php?p=401 ErrorDocument 403 /index.php?p=403 ErrorDocument 404 /index.php?p=404 ErrorDocument 500 /index.php?p=500 ErrorDocument 503 /index.php?p=503 *THE LINES ABOVE SHOULD BE IN YOUR ROOT'S HTACCESS FILE
S Smart Chevereto Noob Sep 7, 2009 #8 I can not make the error pages of the script itself work, what to do?