[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2014-08-25
Medium Priority
Last Modified: 2014-09-29

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

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:Chrome dev tool Network tab. bootstrap.css has a 403 forbidden error
Here's the Chrome dev snapshot attached.
Question by:Victor Kimura
  • 2

Assisted Solution

by:Mandeep Singh
Mandeep Singh earned 2000 total points
ID: 40284874

Try to open your bootstrap.css file location in a new tab. like: http://localhost/........./bootstrap.css

Check permission of bootstrap.css file.

Accepted Solution

Victor Kimura earned 0 total points
ID: 40284902
@Mandeep Singh,

yes, it's a permissions error. Odd that when I unzipped the bootstrap zip folder all the folders (css, fonts, js folders) are greyed out. I looked for the permissions but I don't see anything that is causing the "greyed out" permissions. On Windows 7 64bit pro.

greyed out bootstrap download files. How do I ungrey them (set the proper permissions)?

Oh, I think I just figured it out. Why does Bootstrap have the setting of "file encryption" on their download files. That is so odd and doesn't really make sense to me.

Solution: right click folder, click "Properties", then "Advanced" button, then uncheck "Encrypt contents to secure data". That does the trick. Spent over an hour trying to figure this out but by the Father's grace figured it out.

Author Closing Comment

by:Victor Kimura
ID: 40349526
I think I found the answer on a "hidden" blog post somewhere or some forum.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month20 days, 8 hours left to enroll

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question