Re: [us...@httpd] File Extensions

2010-11-09 Thread Joeri De Backer
On Wed, Nov 10, 2010 at 2:39 AM, dojo karta wrote: > Hey Greetings, > > I wanted to know if HTTPD can help me to restrict serving files with > particular Extensions. > > I mean I have a Web application primarily written in JS. I do not want to > throw away the code open to everyone. So is there a

Re: [us...@httpd] DirectoryIndex for a specific index

2010-11-09 Thread Tim Johnson
* Eric Covener [101109 14:55]: > On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson wrote: <..> > Is it possible to to set directory files names specific to the > > directory: > > Example:: > > of course you can manually do this by using DirectoryIndex inside of > or , but if you've got more than a fe

[us...@httpd] Building 2.2.17 on MacOSX

2010-11-09 Thread Benson Margulies
On MacOSX 10.6.4. Current Apple development tools. Upacked 2.2.17, ran configure (no special options), ran make. glibtool is in PATH, but what I ended up with was ... Making all in pcre /opt/subversion/build-1/libtool --silent --mode=compile gcc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-p

[us...@httpd] File Extensions

2010-11-09 Thread dojo karta
Hey Greetings, I wanted to know if HTTPD can help me to restrict serving files with particular Extensions. I mean I have a Web application primarily written in JS. I do not want to throw away the code open to everyone. So is there a way I can configure HTTPD to say no if somebody tries to access

Re: [us...@httpd] DirectoryIndex for a specific index

2010-11-09 Thread Eric Covener
On Tue, Nov 9, 2010 at 3:08 PM, Tim Johnson wrote: > Platform is ubuntu 10.04 > in my /etc/apache2/mods-available/dir.conf, > I have the following :: > > >  DirectoryIndex index.html index.php index.py index.cgi index.pl index.xhtml > index.htm > > > Is it possible to to set directory files nam

Re: [us...@httpd] Avoiding placing #!path/to/phpinterpreter

2010-11-09 Thread Jeff Trawick
On Tue, Nov 9, 2010 at 3:04 PM, Axel Gallus wrote: > > I will read about it in the documentation, but maybe you could give me > an example right off the bat? something like # or other type of container AddHandler runphp .cgi Action runphp /cgi-bin/php-cgi with that relative path o

[us...@httpd] DirectoryIndex for a specific index

2010-11-09 Thread Tim Johnson
Platform is ubuntu 10.04 in my /etc/apache2/mods-available/dir.conf, I have the following :: DirectoryIndex index.html index.php index.py index.cgi index.pl index.xhtml index.htm Is it possible to to set directory files names specific to the directory: Example:: for mydomain/foo1 I could ha

AW: [us...@httpd] Avoiding placing #!path/to/phpinterpreter

2010-11-09 Thread Axel Gallus
I will read about it in the documentation, but maybe you could give me an example right off the bat? thx and regards A.Gallus -Ursprüngliche Nachricht- Von: Eric Covener [mailto:cove...@gmail.com] Gesendet: Di 09.11.2010 20:55 An: users@httpd.apache.org Betreff: Re: [us...@httpd] Avoi

Re: [us...@httpd] Avoiding placing #!path/to/phpinterpreter

2010-11-09 Thread Eric Covener
On Tue, Nov 9, 2010 at 1:40 PM, Axel Gallus wrote: > > Hi Guys, > > I set up an envronment where files with *.cgi ending > get executed by the mod_cgi (or mod_cgid). > > I have to place the line #!/usr/cgi-bin in each of those files > to let them run by the interpreter. > > Is there a way to rende

[us...@httpd] Avoiding placing #!path/to/phpinterpreter

2010-11-09 Thread Axel Gallus
Hi Guys, I set up an envronment where files with *.cgi ending get executed by the mod_cgi (or mod_cgid). I have to place the line #!/usr/cgi-bin in each of those files to let them run by the interpreter. Is there a way to render this unneccessary so that they automatically get executed by the

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-09 Thread Mohit Anchlia
On Tue, Nov 9, 2010 at 2:17 AM, Matus UHLAR - fantomas wrote: >> On Thu, October 28, 2010 16:24, Tom Evans wrote: >> > Why do you care what the status code is? (or rather, why do you want >> > to return OK when an error occurs?) > > On 28.10.10 16:48, Joost de Heer wrote: >> To work around the "Di

Re: [us...@httpd] mass proxying via mod_rewrite

2010-11-09 Thread Sai A
Hi Apache users/experts, 1) Is there an equivalent of ProxyPassMatch for Apache 2.0? (I don't have the option to upgrade to 2.2). 2) While ProxyPassMatch seems to satisfy half my problem, I am wondering how I can implement the following: Proxy www.clientX.com to http://clients.company.com/client

Re: [us...@httpd] Limiting Request Body suggestion

2010-11-09 Thread Matus UHLAR - fantomas
> On Thu, October 28, 2010 16:24, Tom Evans wrote: > > Why do you care what the status code is? (or rather, why do you want > > to return OK when an error occurs?) On 28.10.10 16:48, Joost de Heer wrote: > To work around the "Display userfriendly error messages" bug^Wfeature? Is there any need fo