Link to home
Start Free TrialLog in
Avatar of Victor Kimura
Victor KimuraFlag for Canada

asked on

403 forbidden error on WAMP localhost of Wordpress' stylesheet file bootstrap.css

Hi,

I'm getting a 403 forbidden error on my WAMP localhost (Win 7 64bit) using Wordpress. It can access the index and the Apache server is working fine but it can't access the stylesheet.

I tried this:
<Directory "C:/wamp/www/test/trunk/php/wordpress">
	Options All
	AllowOverride all
	Order Deny,Allow
	  Allow from 127.0.0.1
</Directory>

Open in new window


And I tried the same above code except with "Allow from all" but to no avail.

Note - Apache can access the main style.css of the active theme folder but it can't access the @import bootstrap.css files. For some reason, it's trying to access the .css file as an html file it seems like.

Here's the snapshot of the Network tab in the Chrome dev tool:User generated image
Here's the Chrome dev snapshot attached.
SOLUTION
Avatar of Mandeep Singh
Mandeep Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Victor Kimura

ASKER

I think I found the answer on a "hidden" blog post somewhere or some forum.