I've just installed Wamp and I'm getting 403 access denied error when I try to access http://localhost.
I've checked my apache configuration file and it has the line Allow from 127.0.0.1 in both <Directory /> and <Directory "c:/wamp/www/"> sections.
So why the access to root directory is forbidden for localhost?!
403 error in accessing localhost after wamp installation, despite having "Allow from 127.0.0.1" in apache conf
2.3k Views Asked by Alireza Mirian At
1
There are 1 best solutions below
Related Questions in LOCALHOST
- What's supposed to be the problem in this query?
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Firebase authentication does not work on 127.0.0.1 but works on localhost
- Next.Js: localhost:3000 not working in browser
- Auto redirect 127.0.0.1:8000 to 127.0.0.1:8000/app/
- How can I connect my Android Studio apk to localhost for real Android devices?
- Localhost doesn't see my file; The requested URL was not found on this server
- Issue with Google Login Implementation using google-auth-library in Node.js
- Calling service with localhost or machine IP for internal calls?
- If a website is running on localhost, does Next.js have more performance than React.js?
- Mediapipe making python local server throw "[WinError 6] The handle is invalid"
- Filament Laravel Project
- localhost runs for a long time (react)
- React app using Vite has blank white screen when i open in localhost
- Persist Local AppEngine logs to Google App Engine Logger?
Related Questions in WAMP
- PHP & LDAPS : cant connect to AD
- Sending an email with wamp
- Big files take unjustly long time to submit from the form Laravel PHP
- Wampserver is not displaying images or videos. Permission issue?
- Why wamp server doesn't work on localhost?
- Mysql server not starting without Xamp or Wampserver, How to Use a Common Database for all
- i want to fix one error for configure the iomad using wamp server
- The website works fine with certificat HTTPS inside the virtual machine (VM) but not outside
- Wamp server error message: The process cannot access the file because it is being used by another process
- How to increase phpmyadmin upload filesize limit in wampserver?
- phalcon and phalcon devtools installation issue in windows 10
- I tried to PHP Server: Serve but it doesn't start
- Running into performance problems - MySQL shows CPU 100%
- "pecl http" php extension can't be loaded in local (xampp/wampp)
- Display html img located in network drive
Related Questions in HTTP-STATUS-CODE-403
- 403 Forbidden Error when accessing any file or path
- Does a 403 error occur if there is no user-agent on the proxy network?
- WP PHP REST API returning 403 error on some files passed with curl from different website
- Error 403 in React fetching data from the Django endpoint
- localhost 403 using nginx
- While showing notebook inside my website Iframe, It shows “Couldn’t authenticate WebSocket connection” and codes are not executed
- 403 error accessing solr 8.11 on tomcat 9 (Windows)
- CORS issues when connecting to a WebSocket for SpringBoot + React projects
- Can't redirect to login page because of 403 error, security.JwtAuthenticationFilter : Received token from request: null
- Anyone know why I am getting a 403 using the below code to remove a track from a Spotify playlist?
- Azure app service (linux) with ASP.NET Core 8 Web API results in http 403 error
- Got this error in aws -{"error":{"root_cause":[{"type":"authorization_exception","reason":"User does not have permissions for the requested resource"}
- Why am I getting a temporary 403 Forbidden Error when accessing session protected pages on my web application?
- Site links have started giving 403 errors through Facebook debugger
- How to Access WordPress Posts as Subdomains Instead of Subdirectories?
Related Questions in ACCESS-DENIED
- Error: VS800075 when downloading artifact from another project
- Error: id returned 5 exit status when building C++ code in Code::Blocks
- Azure Storage Account Access: Role Assignments Yield 'Access Denied' even for "Blob Owners" roles
- in Ubuntu CREATE FILE encountered operating system error 5(Access is denied.) MSSQL
- Access denied when using Get-PnPSubWeb
- MySQL/Django/Docker -> 1045, "1045 (28000): Access denied for user 'X'@'xx.xxx.xx.xx' (using password: YES)", '28000'
- Getting CreateProcess error=5, Access is denied while trying to launch the emulator programmatically from Java Appium code
- http://50.18.239.87:8080/manager/html 403 access denied, Tomcat Server is on EC2 instance
- Access denied error while setting up spark config in Python
- MYSQL where to set password for mysqladmin?
- My azure student account is not eligible to access most of the services and resources
- VirtualAllocEx failing with ERROR_ACCESS_DENIED code
- AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied;
- Error trying to run project. Access is denied (But user has access to the project folder)
- LinkedIn API - ACCESS_DENIED - Not enough permissions to access
Related Questions in APACHE-CONFIG
- Unable prevent redirect to https
- Apache: force HTTPS on when behind SSL-terminating reverse proxy
- Does apache2 have an equivalent to nginx -T?
- Https requests to our apache server sometimes return empty response and empty header
- PHP can't find php.ini configuration file
- Is there a definitive documented answer on double quoted string escaping?
- Apache 2: issue redirecting root url from http to https
- Is there a way to get client remote ip in appache config?
- CSS Import rule does not work on apache subfolder
- With Apache's ProxyPassMatch, how do I pass on only part of my URL?
- Is there a way to configure Apache to auto-recognize URLs for Django vs React without hard-coding each endpoint?
- Apache Reverse Proxy: Limit POST / PUT but allow unatuthenticated GET / HEAD
- Apache 2.4: Can I use variables for conditionals in requests?
- Why is some .htaccess <FilesMatch> tutorial usually wrapped within <IfModule mod_headers.c>?
- Can't connect to my local Apache server on port 8079
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Depending on the OS, Apache may be binding to IPv6 address, so the
localhostis recognizing as::1instead of127.0.0.1.You have to add
Allow from ::1instead ofAllow from 127.0.0.1in apache config file.NOTE: Problem can be solved also if you add
Allow from allto root directory section in http config file, but it's not a good idea because this way your web root became accessible from any computer in the network you are.