[users@httpd] apache 403 no error information provided

2011-06-10 Thread David Mehler
Hello, I've got an apache 2.2.x server running on CentOS. I've got the configuration below. When atempting to access my first virtual host things work fine, when atempting to access a subfolder I'm getting an error 403 forbidden. I'm also getting no log output. If anyone can spot my configuration e

[users@httpd] Re: PHP Not Working

2011-06-10 Thread DW
Xavier Lopez wrote: > It serves all html files, but not php. Have you got something loike this in your configurations: DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \ default.php default.pl default.cgi default.asp default.shtml de

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Wilson Hernandez
Thanks. This option sounds a lot simpler than first thought. I will keep this in mind. Also, I'm also running a DNS server in house as well, but, if no power at home then there will be no DNS will be resolved. On 6/10/2011 3:55 PM, Jeroen Geilman wrote: On 06/10/2011 09:05 PM, Wilson Hernan

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Jeroen Geilman
On 06/10/2011 09:05 PM, Wilson Hernandez wrote: Thanks for replying. I actually would like to have the main server locally and the backup server hosted somewhere else with: Amazon, Godaddy, etc... The cheapest way is to point the hostname to your home IP, and set a very short TTL, say 5 min

Re: [users@httpd] PHP Not Working

2011-06-10 Thread Jeroen Geilman
On 06/10/2011 08:31 PM, zavelo...@gmail.com wrote: J, I couldn't figure out what exactly you meant when you typed "in your Documentroot Directory". Did you mean in the block of text that contains the DocumentRoot Directive, or the Directory Directive containing the document root? I tried it bot

Re: Re: [users@httpd] PHP Not Working

2011-06-10 Thread zavelopez
J, regarding your statement, "You are allowing apache full access to your OS root directory. Don't do that." I have a follow up question (or several hundred). I looked into the output of phpinfo() and saw that the pwd in the 'Environment' category = /. Which specifically confirms your point,

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Wilson Hernandez
Thanks for replying. I actually would like to have the main server locally and the backup server hosted somewhere else with: Amazon, Godaddy, etc... On 6/10/2011 8:22 AM, Patrick Proniewski wrote: On 10 juin 2011, at 11:21, Igor Galić wrote: I'm wondering if it isn't really cheaper (and s

Re: Re: [users@httpd] PHP Not Working

2011-06-10 Thread zavelopez
J, I couldn't figure out what exactly you meant when you typed "in your Documentroot Directory". Did you mean in the block of text that contains the DocumentRoot Directive, or the Directory Directive containing the document root? I tried it both ways, like so: ServerName http://new.dev Serv

Re: RE: [users@httpd] PHP Not Working

2011-06-10 Thread zavelopez
Steve, I get the Firefox alert asking me what program I want it to use to open the file. On , Steve Brereton wrote: What happens when you load a php page? A blank? the php script shows? a 500 error? > Date: Thu, 9 Jun 2011 14:48:20 -0700 > From: zavelo...@gmail.com > To: users@httpd.apach

[users@httpd] ProxyPass appears to be rewriting Location headers

2011-06-10 Thread Peter Hartzler
Hello, We're having a puzzling issue with setting up a reverse proxy. Running Debian Lenny, apache2-mpm-prefork, 2.2.9-10+lenny9, libapache2-mod-perl2 2.0.4-5+lenny1 Have this in our configs:     SSLProxyEngine On ProxyPass /proxies/cloudsponge https://api.cloudsponge.com/auth https://api.

Re: [users@httpd] using mod_rewrite to change home page

2011-06-10 Thread Eric Covener
On Fri, Jun 10, 2011 at 11:40 AM, Yehuda Katz wrote: > In order to create pretty/fancy URLs, your program, in this case Greenstone, > needs to support setting fancy URLs or you need to set up a reverse proxy > (which is much more complicated than mod_rewite). This should not normally be necessary

Re: [users@httpd] using mod_rewrite to change home page

2011-06-10 Thread Yehuda Katz
On Fri, Jun 10, 2011 at 10:53 AM, John Fitzgibbon < jfitzgib...@galwaylibrary.ie> wrote: > Less importantly, I would like > > > > > http://10.10.10.10/greenstone/cgi-bin/library.cgi?e=p-01000-00---off-0test3--00-10-10-0---0---0direct-10---4---0-1l--11-en-50---20-about---00-3-1-00-0--4--0-

[users@httpd] using mod_rewrite to change home page

2011-06-10 Thread John Fitzgibbon
Hi, At the moment, I have Apache installed on Linux. I do not have a domain name. I am using the IP address to access the website. I want users to be brought directly to http://10.10.10.10/greenstone/cgi-bin/library.cgi?site=localhost&a=p&p=about&c=test3&l=en&w=utf-8 when they type in the IP a

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Patrick Proniewski
On 10 juin 2011, at 11:21, Igor Galić wrote: > I'm wondering if it isn't really cheaper (and saner, and healthier) > to just get a VPS somewhere... Being "somewhere" (including the could) still leaves you with a probability of an outage. The VPS can crash, can be DDoSed, can be hacked... The i

Re: [users@httpd] Permission denied virtualhost alias

2011-06-10 Thread Igor Galić
- Original Message - > Hi, > > > I got the following parameters in my VirtualHost configuration: > > > > > ServerName www.someserver.com > ServerAlias www.otherserver.com > ServerAlias otherserver.com > > > > DocumentRoot /var/www/public_html > ErrorLog /var/log/apache2/error_log > Custo

Re: [users@httpd] Permission denied virtualhost alias

2011-06-10 Thread Eric Covener
> I'm clueless about what the reason could be. > Note that all hostnames are pointing to the same IP address. > Any help would be kindly appreciated. What's the verbatim entry in the error log? -- Eric Covener cove...@gmail.com ---

RE: [users@httpd] (Test) - this getting through?

2011-06-10 Thread Steve Brereton
bocalinda - I was trying to ask which OS you're using? Date: Fri, 10 Jun 2011 11:43:57 +0200 From: bocali...@gmail.com To: users@httpd.apache.org Subject: Re: [users@httpd] (Test) - this getting through? Yes 2011/6/10 Steve Brereton Getting none-delivered suddenly?

RE: [users@httpd] (Test) - this getting through?

2011-06-10 Thread Steve Brereton
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. users@httpd.apache.org from postmas...@mail.hotmail.com is what I'm getting Date: Fri, 10 Jun 2011 05:51:23 -0400 From: m...@catseye.org To: the.oldg...@hotmail.com Subject:

RE: [users@httpd] (Test) - this getting through?

2011-06-10 Thread Steve Brereton
Bizzarre! Just tried to reply three times and getting DFN each time Date: Fri, 10 Jun 2011 11:43:57 +0200 From: bocali...@gmail.com To: users@httpd.apache.org Subject: Re: [users@httpd] (Test) - this getting through? Yes 2011/6/10 Steve Brereton Getting none-delivered suddenly?

Re: [users@httpd] (Test) - this getting through?

2011-06-10 Thread Bocalinda
Yes 2011/6/10 Steve Brereton > Getting none-delivered suddenly? >

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Igor Galić
- Original Message - > Patrick Proniewski wrote: > >> I would like to know if there is a way to have another server > >> somewhere > >> > else with the same dynamic content as a "backup" in case the > >> > main server > >> > is not available then the backup server would serve the pages

Re: [users@httpd] Permission denied virtualhost alias

2011-06-10 Thread Bocalinda
Hi Steve, Yes I'm absolutely sure. nslookup returns the same IP address for all 3 hostnames. As to the file system or site authentication, all sites have the same documentroot, and only 1 doesn't work. I guess that a file system permission is out of the question here? 2011/6/10 Steve Brereton

RE: [users@httpd] Permission denied virtualhost alias

2011-06-10 Thread Steve Brereton
that's always going to be file system or site authentication. Are you sure the DNS for the three sites is pointing at the same place? Date: Fri, 10 Jun 2011 11:08:38 +0200 From: bocali...@gmail.com To: users@httpd.apache.org Subject: [users@httpd] Permission denied virtualhost alias Hi, I got t

[users@httpd] Permission denied virtualhost alias

2011-06-10 Thread Bocalinda
Hi, I got the following parameters in my VirtualHost configuration: ServerName www.someserver.com ServerAlias www.otherserver.com ServerAlias otherserver.com DocumentRoot /var/www/public_html ErrorLog /var/log/apache2/error_log CustomLog /var/log/apache2/access_log combi

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Lester Caine
Patrick Proniewski wrote: I would like to know if there is a way to have another server somewhere > else with the same dynamic content as a "backup" in case the main server > is not available then the backup server would serve the pages. Whatever solution you choose, it's not Apache related. I

RE: [users@httpd] problems with reverse proxy!

2011-06-10 Thread Steve Brereton
Thanks for the suggestion. I've updated and restarted. Usually needs a few hours to be confirmed > Date: Thu, 9 Jun 2011 17:03:48 +0100 > From: tevans...@googlemail.com > To: users@httpd.apache.org > Subject: Re: [users@httpd] problems with reverse proxy! > > On Thu, Jun 9, 2011 at 3:47 PM,

RE: [users@httpd] PHP Not Working

2011-06-10 Thread Steve Brereton
What happens when you load a php page? A blank? the php script shows? a 500 error? > Date: Thu, 9 Jun 2011 14:48:20 -0700 > From: zavelo...@gmail.com > To: users@httpd.apache.org > Subject: [users@httpd] PHP Not Working > > Hi, I'm using Apache 2.2 on Ubuntu 10.04. I've checked that php mod is >

Re: [users@httpd] How to run a backup server?

2011-06-10 Thread Patrick Proniewski
Hello, On 10 juin 2011, at 06:43, Wilson Hernandez wrote: > I would like to know if there is a way to have another server somewhere > else with the same dynamic content as a "backup" in case the main server > is not available then the backup server would serve the pages. Whatever solution you ch