Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 6th January 2011, 18:43
maced0n maced0n is offline
Junior Member
 
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I followed http://www.howtoforge.com/nginx-catc...n-debian-lenny and nginx can't start. This is the error i get:

Restarting nginx: 2011/01/06 17:40:31 [emerg] 14561#0: open() "/var/log/ispconfig/httpd/$host/access.log" failed (2: No such file or directory)
nginx.

Where is $host variable defined ?
__________________
webdesignplus.mk
Reply With Quote
Sponsored Links
  #32  
Old 14th January 2011, 06:20
maced0n maced0n is offline
Junior Member
 
Join Date: Dec 2009
Posts: 25
Thanks: 1
Thanked 3 Times in 3 Posts
Default

If anyone else have a same problem this is because my nginx was 0.6, it should be > 0.7.
__________________
webdesignplus.mk
Reply With Quote
The Following User Says Thank You to maced0n For This Useful Post:
falko (14th January 2011)
  #33  
Old 9th February 2011, 10:35
demon326 demon326 is offline
Junior Member
 
Join Date: Nov 2010
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default

Sorry to bump this topic,

But i don't want to open a new one for the same issue... I got it "working" thanks to this tutorial: http://tumblr.intranation.com/post/7...-reverse-proxy

instead of port 8080 i used 82, so both systems ar running pretty fine, but i can't get the sites display to show, it just says
Quote:
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.
So i assume that all the content is getting forwarded to apache instead of Nginx, although httpfox says the server is now Nginx

(Status-Rule) HTTP/1.1 304 Not Modified
Server nginx
Date Wed, 09 Feb 2011 05:21:24 GMT
Connection keep-alive
Keep-Alive timeout=20
Etag "20a0d-b1-49bc577241db8"
Vary Accept-Encoding

Last edited by demon326; 9th February 2011 at 11:09.
Reply With Quote
  #34  
Old 9th December 2012, 17:48
iain17 iain17 is offline
Junior Member
 
Join Date: Jun 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Where would you guys place this line of code?: ab -c 100 -n 10000 http://hostname/index.php


Thanks, Someone posted it on a tutorial and I'm trying to figure out where for starters he found it and where he put it.
He's saying it gives amazing results, would love to hear from someone where I could place it in my configuration. Cuz atm it's working as intended, all my websites are functional with ispconfig etc and the headers are telling me the website is provided by Nginx so that's all happy and good.

But would really appreciate it if someone could tell me where to put that line of code, or even if it's that necessary
Reply With Quote
  #35  
Old 9th December 2012, 23:31
iain17 iain17 is offline
Junior Member
 
Join Date: Jun 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I also found that there is one flaw in this whole idea, and that is when things like roundcube squirrelmail or even phpmyadmin are hosted outside of /var/www/* things like css etc that are managed by Nginx result in a 404 error.

Thus resulting improper function of these services, could someone help me find a fix cuz I can't find one.
Reply With Quote
  #36  
Old 10th December 2012, 10:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

Quote:
Originally Posted by iain17 View Post
Where would you guys place this line of code?: ab -c 100 -n 10000 http://hostname/index.php
It's a command (it does a benchmark if you are interested to see how fast the server is), so you type it on the command line.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
apache2, ispcfg3, nginx, proxy, reverse

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nginx Catch-All Host As Front End To Apache For ISPConfig 3 On Debian Lenny fatmaddin2000 HOWTO-Related Questions 1 27th June 2010 21:52
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 20:13
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 04:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.