Welcome! Log In Create A New Profile

Advanced

Re: 'auto'rewrite link to a folder

Pascale Camille
August 14, 2014 10:34AM
hi,
thanks for mini lesson of batch command useful in futur.
hum, i did what you wrote
i rebuilded vps with debian 7
remove apache
just fail to restart nginx editing nginx.conf
so i put in /etc/nginx/sites-available/default

and i am beat confused:

root@www:/# curl -H Host:one.2maxi.com http://localhost/
content of /tmp/www/one/index.html
root@www:/# curl -H Host:nil.2maxi.com http://localhost/
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.2.1</center>
</body>
</html>
root@www:/#

so in web browser i should see
content of /tmp/www/one/index.html

but i have 'this page not available ... DNS lookup failed"

and 2maxi.com/nil or what else gives 2maxi.com

--
Posted via http://www.ruby-forum.com/.

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

'auto'rewrite link to a folder

Pascale Camille August 13, 2014 04:44PM

Re: 'auto'rewrite link to a folder

Francis Daly August 13, 2014 07:46PM

Re: 'auto'rewrite link to a folder

Pascale Camille August 14, 2014 03:14AM

Re: 'auto'rewrite link to a folder

Francis Daly August 14, 2014 05:02AM

full main.conf

Pascale Camille August 14, 2014 03:36AM

Re: 'auto'rewrite link to a folder

Pascale Camille August 14, 2014 10:34AM

Re: 'auto'rewrite link to a folder

Francis Daly August 14, 2014 01:24PM

Re: 'auto'rewrite link to a folder

bodomic August 14, 2014 10:47AM

Re: 'auto'rewrite link to a folder

Pascale Camille August 14, 2014 10:52AM

Re: 'auto'rewrite link to a folder

Pascale Camille August 14, 2014 11:56AM

Re: 'auto'rewrite link to a folder

Pascale Camille August 14, 2014 02:28PM

Re: 'auto'rewrite link to a folder

bodomic August 15, 2014 03:22AM

Re: [resolved]'auto'rewrite link to a folder

Pascale Camille August 15, 2014 11:46AM

Re: [resolved]'auto'rewrite link to a folder

Pascale Camille August 19, 2014 07:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 194
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready