[us...@httpd] Apache newbie help - Multiple /usr/sbin/httpd2-preforks ...

2010-02-26 Thread Richard Peacock
Hi guys, I am sorry if this is such a newbie question! I was diagnosing an un-related issue on my web-server and had to list processes to see which PID needed to be killed. I noticed that there were several entries for the "http2-prefork" process ... [start] wwwrun8786 0.0 0.5 88452

[us...@httpd]

2009-09-04 Thread Richard Peacock
I have a requirement to create a new feature to our portal, I also apologise if this is not the best place to ask but I have to start somewhere! A user will request a piece of documentation from the webserver (which is customised to their company), these documents are not web-facing so what happ

RE: [us...@httpd] creating a proxy

2009-08-26 Thread Richard Peacock
y. [snip] http://httpd.apache.org/docs/2.0/mod/mod_proxy.html I hope these help, personally I use Smoothwall (www.smoothwall.org <http://www.smoothwall.org/> ) for outbound proxy and inbound port-forwarding. ________ From: Richard Peacock [mailto:richard

RE: [us...@httpd] creating a proxy

2009-08-26 Thread Richard Peacock
I don't quite understand what you're trying to do ... "to connect to my server through putty with ssh tunnel" and then later on you try to browse "a web site". Are you tying to set up apache as a proxy server (for outbound requests) and port-forwarding for inbound requests? __

RE: [us...@httpd] Handling 404 errors

2009-08-26 Thread Richard Peacock
Firstly, sorry for the top post ... according to Apache.org :- "'-F' (is existing file, via subrequest) Checks whether or not TestString is a valid file, accessible via all the server's currently-configured access controls for that path. This uses an internal subrequest to do the check, so use i

RE: [us...@httpd] Handling 404 errors

2009-08-26 Thread Richard Peacock
Nick Kew wrote:- Richard, when replying, can you quote normally, and not make your reply look like some malformed signature to the original post? I had no idea this was a reply until I hit "reply" in my mailer. RP: Oh, I'm really sorry - I blame outlook ;) I tried to put it at the bottom which o

RE: [us...@httpd] Handling 404 errors

2009-08-26 Thread Richard Peacock
From: Andrew Hole [mailto:andremailingl...@gmail.com] Sent: 26 August 2009 12:24 To: users@httpd.apache.org Subject: [us...@httpd] Handling 404 errors Hi guys! Actually our web application has a retry mechanism based on http status code returned to client. Just an example: - An http request is

RE: [us...@httpd] Apache logs

2009-08-21 Thread Richard Peacock
Oops, there's me questioning someone's post and making a mistake in my reply which makes my post nonsense! Correction: "I have you read the pages at http://httpd.apache.org/ regarding the log files?" should be "Have you ..." _________

RE: [us...@httpd] Apache logs

2009-08-21 Thread Richard Peacock
Hi A Hole, Thanks for letting us know? (do you mean to ask "Are the Apache logs written when the request is completed?") I have you read the pages at http://httpd.apache.org/ regarding the log files? Ps. Please nobody moan about me "reverse posting", I blame my outlook client! __

RE: [us...@httpd] Re: how to create payment gateway

2009-08-20 Thread Richard Peacock
Oh I did - I just paid little to no attention to it ;) -Original Message- From: LuKreme [mailto:krem...@kreme.com] Sent: 20 August 2009 14:22 To: users@httpd.apache.org Subject: [us...@httpd] Re: how to create payment gateway On 20-Aug-2009, at 06:51, Richard Peacock wrote: > Ps. So

RE: [us...@httpd] how to create payment gateway

2009-08-20 Thread Richard Peacock
Oh my, that is the funniest thing I have ever seen!!! ROFL! Ps. Sorry for the spam but Krist, you have really made me laugh out loud! -Original Message- From: Krist van Besien [mailto:krist.vanbes...@gmail.com] Sent: 20 August 2009 12:39 To: users@httpd.apache.org Subject: Re: [us.

RE: [us...@httpd] Re: backup & restore apache & mysql

2009-08-11 Thread Richard Peacock
Hello I just wanted to provide an update to the list of my implemented backup procedure (it may help with other people in the same position!) 1. Apache - rsync the file httpd.conf and the conf.d folder over to another machine which is configured with the same Apache version (2.2 IIRC) - it a

RE: [us...@httpd] Re: backup & restore apache & mysql

2009-08-07 Thread Richard Peacock
; Apache backup? Rich -Original Message- From: Sheryl [mailto:gubyd...@his.com] Sent: 07 August 2009 04:51 To: users@httpd.apache.org Subject: Re: [us...@httpd] Re: backup & restore apache & mysql > On 6-Aug-2009, at 10:22, Richard Peacock wrote: >> What would be the b

[us...@httpd] backup & restore apache & mysql

2009-08-06 Thread Richard Peacock
Hello After luckily recovering from a recent server failure, I noticed I do not have a backup of Apache and the MYSQL databases it hosts. What would be the best way to perform a full Apache backup and MySQL (I know it's not exactly related and understand if you can't make any suggestions for th

RE: [us...@httpd] sending email

2009-06-15 Thread Richard Peacock
I don't think this is an Apache problem, it's either bad PHP or problem with your esmtp configuration by the sounds of it. Have you checked the MAN pages for your esmtp program or checked that your PHP replaces any invalid chars that could prevent emails being sent? Have you tried to create a

RE: [us...@httpd] $_POST equivalent env variable in apache

2009-05-19 Thread Richard Peacock
Andre is correct, Apache doesn't actually do anything with web-pages (of any flavour) all it does it << serve >> them. The code in the pages themselves determine what to display on-screen to the end-users. Just in case it's any use, in PHP you would use: $_POST for forms sent using POST method,

RE: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Richard Peacock
www.whatismyipaddress.com Your router should also show the external/public IP but on my Smoothwall it gives me a different one to what it really is lol so use that website above! Rich -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 14 May 2009 16:57 To: users@htt

RE: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Richard Peacock
Hello It's still not working: "The server at 24.78.136.243 is taking too long to respond." That's from http://24.78.136.243:8080/ If it works from your internal network (ie http://192.168.0.100:8080 ) then it's a port-forwarding or firewall issue. Perhaps ch

RE: [us...@httpd] Looking for cheap and secure Authentification - Build own OTP?

2009-04-02 Thread Richard Peacock
At work we have a series of changing passwords, they are based around the date. For example, the least secure of our passwords would be worked out something like: - mmdd = password So if the date is April 02 2009, then the mmdd string would be 0402. The password would be calculated as

RE: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-27 Thread Richard Peacock
.. but surely even if he uses this one-time method then the person who clicks the link for the mp3 file will still get the file? albeit with added server load as it is copied first then deleted - not to mention the additional script work that would be needed? Ultimately, there is no way to prot

RE: [us...@httpd] DirectoryIndex

2009-03-26 Thread Richard Peacock
Hello Couldn't you do a $_GET or $_POST in your PHP code to check for idLang and if nothing was specified, default the variable to 1? For example: switch ($_SERVER['REQUEST_METHOD']) { case "GET": $idLang = $_GET['idLang']; break; case "POST": $idLang = $_POST['idLang'

RE: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-26 Thread Richard Peacock
Lol, good answer Krist! Although many people have tried to prevent things like right-click and grabbing of files from their websites, they are all bypassable in one way or another ;) -Original Message- From: Krist van Besien [mailto:krist.vanbes...@gmail.com] Sent: 26 March 2009 10:15

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
functions/directives etc would vary from one distro to another unless you're running it on Windows. Rich -Original Message- From: Florent Georges [mailto:li...@fgeorges.org] Sent: 25 March 2009 15:44 To: users@httpd.apache.org; Richard Peacock Subject: Re: [us...@httpd] Redirect a whole si

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
Have you tried to just have the two lines without the VirtualHost stuff? ProxyRequests Off ProxyPass / http://localhost:1234/container/ctxt/ Sorry if you have but it's worth a try if not ;) -Original Message- From: Florent Georges [mailto:li...@fgeorges.org] Sent: 25 Ma

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
[us...@httpd] Redirect a whole site from port 80 to a servlet container Richard Peacock wrote: > I did not use NameVirtualHost or anything, just those two > lines. Perhaps you need to include the two lines: > Order allow,deny > Allow from all Unfortunately that does not

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
from all In your VirtualHost declaration? -Original Message- From: Florent Georges [mailto:li...@fgeorges.org] Sent: 25 March 2009 14:35 To: users@httpd.apache.org Subject: Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container Richard Peacock wrote: > If I rec

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
orges [mailto:li...@fgeorges.org] Sent: 25 March 2009 13:56 To: Richard Peacock Cc: users@httpd.apache.org Subject: Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container Richard Peacock wrote: > The lines you put in you conf file would be something like: > ProxyR

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
Would ProxyPass help? http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass Just a thought because I have a main webserver also running on p80 and a hyperlink to /myapp which takes the user silently to a whole different web server on a different port. Good luck! -Original Message---

RE: [us...@httpd] disabling builtin modules

2009-03-25 Thread Richard Peacock
les, my main problem is disabling a builtin module in a self compiled apache binary matthias Richard Peacock schrieb: > Hello, > > I'm not sure if this will work but I don't think there is anything to loose > by trying it :) > > Login as root > # a2emmod -l > Mod

RE: [us...@httpd] disabling builtin modules

2009-03-25 Thread Richard Peacock
Hello, I'm not sure if this will work but I don't think there is anything to loose by trying it :) Login as root # a2emmod -l Mod_this mod_that mod_foo mod_bar # a2enmod -d [modname] # a2enmod new_mod_to_add # service apache restart (a2enmod ... -l to list, -d to delete) Although I used a pack

RE: [us...@httpd] Apache not displaying JPG images in certain folders

2009-03-25 Thread Richard Peacock
Further to my email below, I found a solution using the ProxyPass directive. It's working now, thanks to those who tried to help and thanks to the rest for taking the time to read :) Rich -Original Message- From: Richard Peacock [mailto:richard.peac...@minorplanet.com] Sent: 24

RE: [us...@httpd] Apache not displaying JPG images in certain folders

2009-03-24 Thread Richard Peacock
: 24 March 2009 17:13 To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache not displaying JPG images in certain folders On Tue, Mar 24, 2009 at 12:24 PM, Richard Peacock wrote: > Good afternoon all. > > I have made posts regarding this problem on the OpenSuse forum > (http

[us...@httpd] Apache not displaying JPG images in certain folders

2009-03-24 Thread Richard Peacock
Good afternoon all. I have made posts regarding this problem on the OpenSuse forum (http://forums.opensuse.org/applications/410912-apache-help-needed-pleas e.html) but I am not getting very far very quick! I apologise in advance if this is not the correct place to ask for help but I thought I woul