homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Forbidden You don't have permission to access /test/ on this server.
enojado




msg:4299770
 12:05 pm on Apr 18, 2011 (gmt 0)

Hi.
Im new into apache. I create a new katalog "test" under my domain. Example www.domain1.com/test

When i type this address in my web browser I got this.

Forbidden
You don't have permission to access /test/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.3 (CentOS) Server at www.askerit.no Port 80


I have centos, apache and ispconfig3 with two virtual domain's.


The domain path: /var/www/clients/client3/web3/test

i tryed chmod 755 -R test, but nothing happen.

Thanks

 

lucy24




msg:4299883
 4:02 pm on Apr 18, 2011 (gmt 0)

You forgot one piece of information. Where is your htacess file and what does it say?

enojado




msg:4301183
 10:26 am on Apr 20, 2011 (gmt 0)

-

[edited by: enojado at 10:28 am (utc) on Apr 20, 2011]

enojado




msg:4301184
 10:28 am on Apr 20, 2011 (gmt 0)

thanks for reply.

.htaccess file in /web/test/ folder are empty.

Also .htaccess file in root /web/ are empty.

If I for example copy index.html file from /web/ to /web/test/ - it working all right.

If I "touch" a new file into the testfolder, I have forbidden access. also if i copy a file from other virtual domains to the web/test/ folder,


jdMorgan




msg:4303760
 7:15 pm on Apr 25, 2011 (gmt 0)

You likely have "Options -Indexes" set in your server config, which forbids "directory" access unless an index page is present in that directory.

Adding

Options +Indexes

to the top-level .htaccess file or to an .htacess file in the specific directory-path that you want to allow will likely fix this problem, assuming that Options overrides in .htaccess files are permitted by your server configuration.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved