简体   繁体   中英

Access forbidden! Xampp localhost

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.

Error 403

localhost Apache/2.4.23 (Unix) OpenSSL/1.0.2j PHP/5.6.28 mod_perl/2.0.8-dev Perl/v5.16.3

i have tried adding this to my config file Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all Require all granted

went into my Xampp folder xampp/apache/conf/extra/httpd-xampp.conf editted that to Allow from all...still nothing ..same error.... any ideas?

Instead of copying and pasting my project folder into the htdocs directory I created a new folder with a new name and pasted the project files in it and it is working fine now. I can't seem to be able to access the files if they are in the copied folder

Start by creating a new folder in htdocs. Then Copy all your files to the new folder.

Instead of copying/moving the project folder to htdocs. This should work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM