Re: [EMAIL PROTECTED] debugging fastcgi/ACTION directive in Apache Config

2008-08-30 Thread Jay Sprenkle
Eric Covener wrote: On Sat, Aug 30, 2008 at 7:45 PM, Jay Sprenkle <[EMAIL PROTECTED]> wrote: All fastcgi URLs are supposed to be sent to the fastcgi program to be handled, not served directly and don't exist in the docroot. (That program will reads the url 'test.fcgi' and produces a page fr

Re: [EMAIL PROTECTED] debugging fastcgi/ACTION directive in Apache Config

2008-08-30 Thread Eric Covener
On Sat, Aug 30, 2008 at 7:45 PM, Jay Sprenkle <[EMAIL PROTECTED]> wrote: > All fastcgi URLs are supposed to be sent to the fastcgi program to be > handled, not served directly and don't exist in the docroot. > (That program will reads the url 'test.fcgi' and produces a page from a > 'test' templa

Re: [EMAIL PROTECTED] debugging fastcgi/ACTION directive in Apache Config

2008-08-30 Thread Jay Sprenkle
Eric Covener wrote: On Sat, Aug 30, 2008 at 3:12 PM, Jay Sprenkle <[EMAIL PROTECTED]> wrote: SetHandler fastcgi-script Inherits Options +ExecCGI from somewhere? I don't believe this is required for a static fastcgi program, but I'll try it. Action fastcgi-test /Debug/pluwt.ex

RE: [EMAIL PROTECTED] configuration file management

2008-08-30 Thread Berg, Eric
Based on some suggestions from the list for a way to manage 3 similar configurations for our dev, stage and production clusters, I moved our deployment system to a templated solution and am very happy with it. I intend to expand it to use a config file to hold defaults and environment-specific

Re: [EMAIL PROTECTED] debugging fastcgi/ACTION directive in Apache Config

2008-08-30 Thread Eric Covener
On Sat, Aug 30, 2008 at 3:12 PM, Jay Sprenkle <[EMAIL PROTECTED]> wrote: > > SetHandler fastcgi-script > Inherits Options +ExecCGI from somewhere? > Action fastcgi-test /Debug/pluwt.exe > AddHandler fastcgi-test .fcgi > If I then try > http://localhost:8080/test.fcgi > The log tells me apache

RE: [EMAIL PROTECTED] configuration file management

2008-08-30 Thread Ben Spencer
Thank you for the information and links. > You should put common directives into a separate file and Include[1] > them, > to avoid repetition. Does this work within a virtualhost block? Example: ServerName: blah.com # include standard RewriteRules Include conf/local/common-rewrite.conf # site s

[EMAIL PROTECTED] debugging fastcgi/ACTION directive in Apache Config

2008-08-30 Thread Jay Sprenkle
Good afternoon all, I'm trying to setup Apache for use with a fastcgi program I'm developing. I'm not having any luck so I thought it was time to ask for help. Here's what I'm trying to accomplish: I'd like to have all requests with the extension ".fcgi" directed to a single fastcgi program. Th

Re: [EMAIL PROTECTED] apache configuration for php and mysql

2008-08-30 Thread Bradley Giesbrecht
If you make changes to apache, mysql or php conf files you need to bounce apache and/or mysql for them to be used. Restarting the machine should not be necessary. //brad On Aug 30, 2008, at 8:10 AM, Adil Drissi wrote: Hi, Sorry now it works. Maybe i had to restart the machine. Sorry agai

Re: [EMAIL PROTECTED] Setting up a subdomain?

2008-08-30 Thread Bradley Giesbrecht
At Godaddy in Total DNS Control create A or CNAME records for the sub domains you want to host. In your apache vhosts conf file[s] you can do something like this: VirtualHost *:80> ServerName example.com ServerAlias example.com www.example.com subdomain.example.com login.exa

Re: [EMAIL PROTECTED] apache configuration for php and mysql

2008-08-30 Thread Adil Drissi
Hi, Sorry now it works. Maybe i had to restart the machine. Sorry again --- On Sat, 8/30/08, Adil Drissi <[EMAIL PROTECTED]> wrote: > From: Adil Drissi <[EMAIL PROTECTED]> > Subject: [EMAIL PROTECTED] apache configuration for php and mysql > To: users@httpd.apache.org > Date: Saturday, August

[EMAIL PROTECTED] apache configuration for php and mysql

2008-08-30 Thread Adil Drissi
Hi all, I've installed mysql php (apache was already installed) in my fedora8. Now mysql works, and php works but not the database statements. For example in a php script where i have to make a connection to the database, it blocks in the connection statement without any error message. The same

Re: [EMAIL PROTECTED] configuration file management

2008-08-30 Thread Igor Galić
Probing to see if people have a good way/tools which people use to manage their apache configuration file(s). we have roughly 50 virtual hosts which are divided into roughly four major applications with each application having some common configuration directives. While copy/paste works, it is e

Re: [EMAIL PROTECTED] Setting up a subdomain?

2008-08-30 Thread Sam Wootton
2008/8/30 <[EMAIL PROTECTED]> > On 8/29/08, Zach Uram <[EMAIL PROTECTED]> wrote: > > I run apache2 on Debian. I want to set up subdomain so instead of > > www.example.org/html/foo.html visitors can just visit > http://foo.example.org so > > what specifically must I do in apache conf to do this