2

I created a simple html file index.html and a css file style.css. In the head of html i got:

<head>
<meta charset="UTF-8">
<title>Test</title>
<link rel="stylesheet" media="screen" href="style.css" type="text/css">
</head>

Both files are in the same folder, called "zedo_template_new" on my localhost. But when i visit http://localhost/zedo_template_new/index.html the css file is not loaded.

The crazy thing is, if i rename the folder to "edo_template_new" and visit http://localhost/edo_template_new/index.html the css file is loaded and everything works fine!

It seems that any name except "zedo_template_new" is working (i tried about 20 different names, all worked).

Additional, i can observe this behaviour on any webspace i upload this folder. What the heck is going on here? And how can i make my Apache to load css files for every folder name?

Thx for help

4
  • I'd check the .htaccess Commented Aug 10, 2015 at 16:34
  • 2
    Could it be that you have some software for blocking ad / tracking cookie / spyware. Zedo is an ad company with tracking cookies and similar. May be a false positive from this software? Commented Aug 10, 2015 at 17:37
  • hey @Zimmi you were right! I restarted firefox without addons and it works correctly! thanks for your help! Commented Aug 11, 2015 at 15:52
  • Still I'm a bit surprised that this guess came out to be right :-), but good to know it helped. Commented Aug 11, 2015 at 17:03

1 Answer 1

1

Problem solved by @Zimmi: My Ad blocker was blocking it because of the "Zedo" ad company.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.