Welcome! Log In Create A New Profile

Advanced

Re: No MIME types

Francis Daly
June 22, 2013 08:00AM
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@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

No MIME types

Peleke June 22, 2013 03:15AM

Re: No MIME types

Francis Daly June 22, 2013 08:00AM

Re: No MIME types

Peleke June 22, 2013 03:16PM

Re: No MIME types

Peleke June 23, 2013 06:53AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready