No MIME types

Francis Daly francis at daoine.org
Sat Jun 22 11:57:50 UTC 2013


On Sat, Jun 22, 2013 at 03:15:30AM -0400, Peleke wrote:

Hi there,

I'm not sure how your question matches the Subject: line you used.

But anyway...

> The problem is the second domain.tld entry:

> 2013/06/22 09:10:46 [error] 7806#0: *1 open()
> "/var/www/domain.tld/htdocs/domain.tld/wordpress/wp-content/themes/twentytwelve/style.css"
> failed (2: No such file or directory), client: 5.6.7.8, server: localhost,
> request: "GET
> /domain.tld/wordpress/wp-content/themes/twentytwelve/style.css?ver=3.5.1
> HTTP/1.1", host: "1.2.3.4", referrer: "http://1.2.3.4/wordpress/"

> How can I fix this?

I suspect that the answer is going to be "fix your wordpress".

Does the file

  /var/www/domain.tld/htdocs/wordpress/wp-content/themes/twentytwelve/style.css

exist (without the second "/domain.tld")?

What is the output of

  curl -i http://1.2.3.4/wordpress/

and does it include the string

  /domain.tld/wordpress/wp-content/themes/twentytwelve/style.css?ver=3.5.1

anywhere? If so, what puts the "/domain.tld" at the start of it?

My guess is that the file does exist, and that the extra /domain.tld
is added by your wordpress. In which case, find where it your wordpress
config it is added, and don't add it.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list