RE: [EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread Mark Lavi
Well, without seeing your exact (and entire) configuration -- it is hard to troubleshoot. But as a guess, you will need to remove/change the way you've globally enabled CGIs for the server so that you've specifically enabled them in the appropriate directory/directories and the CGI filetype allows

RE: [EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread Stephen Truxton
Thanks again for the suggestion Mark, but I already have a Addhandler option, and I even moved it inside of the for that directory and still didn't help... Concur with the reconfigure Cricket idea, just hoping that it's easier to fix apache than cricket! ;-) Steve --- Mark Lavi <[EMAIL PROTECT

Re: [EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread matt farey
Can you use the ForceType image/gif inside a FilesMatch or similar stanza, have you tried |RemoveHandler .gif have you removed the x-bit hack if its there? | Stephen Truxton wrote: > Thanks Mark, but that was one of the things that I > tried & didn't work. Just complains that it doesn't > have en

RE: [EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread Mark Lavi
Off the top of my head, you may wish to: move your GIFs out of that directory and reconfigure Cricket :) or more likely: change your httpd configuration to the CGI as a file type: AddHandler cgi-script .cgi (and add any other appropriate file type extenders if need be). That, along with the fi

RE: [EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread Stephen Truxton
Thanks Mark, but that was one of the things that I tried & didn't work. Just complains that it doesn't have enough permissions- if I change to 666, same error. Here's the error message: "[Fri Feb 23 06:13:41 2007] [error] [client 10.19.83.200] file permissions deny s erver execution: /home/sanscri

RE: [EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread Mark Lavi
Try taking the execute permissions off all of the non-CGI files. Eg. cd /home/sanscript/public_html/cricket/images/; chmod a-x *gif --Mark Mark Lavi, Enterprise Web Management Team @ SGI mailto:[EMAIL PROTECTED] || phone:+1-650-933-7707 -Original Message- From: Stephen Truxton [mailto:[

[EMAIL PROTECTED] Help: GIFs that are in same directory as PERL script are being executed

2007-02-23 Thread Stephen Truxton
Hola! :-) Environment: Apache 1.3 running on Suse Linux 9.0. Background: - Because of my Cricket installation, I've had to put GIFs in the same directory as some perl scripts. - The perl scripts are in a user directory so I had to modify suse_public_html.conf to allow scripts to execute. Issu

[EMAIL PROTECTED] Apache 2.2.3 with apxs | mod_deflate load error

2007-02-23 Thread Sam Mehta
Hello fellow members, I have an apache 2.2.3 installed (manually) on RH-EL4 which is production environment. I would like to start using mod_deflate.so (LoadModule) but apache provides the following error: Cannot load /full_path/modules/mod_deflate.so into server: /full_path/modules/mod_deflate.so:

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
Highly unlikely that this is a bug. Much more likely that you have another DirectoryIndex directive someplace in httpd.conf, an Include'd config file, or an .htaccess that is overriding your setting. Ding ding ding! We have a winner! There was a conflicting DirectoryIndex in an included config

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread Joshua Slive
On 2/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Interesting, Usually the things you define in the Vhost sections can > indeed be overridden in other places. Espcially "server wide" Aliases > that live in some other conf file. > Is it just one particular subdirectory that you have this

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
Interesting, Usually the things you define in the Vhost sections can indeed be overridden in other places. Espcially "server wide" Aliases that live in some other conf file. Is it just one particular subdirectory that you have this issue with? Nope, it's for any directory whose sole index is an

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread matt farey
[EMAIL PROTECTED] wrote: >> Have you looked around for further config blocks of the type >> >> >> Does your server have rewrites in place for this, and is the file >> listing you are seeing the location to which the DirectoryIndex >> directive applies, it is the location directive in the vhosts

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
Have you looked around for further config blocks of the type Does your server have rewrites in place for this, and is the file listing you are seeing the location to which the DirectoryIndex directive applies, it is the location directive in the vhosts section that is making me think that theres

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread matt farey
[EMAIL PROTECTED] wrote: > I've got a FreeBSD 5.4-RELEASE box that I've just fallen into > administering, with an existing Apache 2.0.58 install. One of my first > tasks has been to get PHP4 installed, so that the site can support a > blog and some other features. > > The PHP installation went sm

Re: [EMAIL PROTECTED] Problem with MySQL authn_dbd and virtual hosts

2007-02-23 Thread Zach Moazeni
Yeah I was on IRC earlier. I think you helped me get to where I am now, with my error in the DBDParams. I'm fairly certain the query isn't failing since it's copy and paste from a working example in the httpd.conf. Same for permissions. The errors only arise when trying to use the configu

Re: [EMAIL PROTECTED] Problem with MySQL authn_dbd and virtual hosts

2007-02-23 Thread Nick Kew
On Fri, 23 Feb 2007 12:18:01 -0500 Zach Moazeni <[EMAIL PROTECTED]> wrote: > Hello, Were you on IRC earlier? > [Fri Feb 23 11:11:53 2007] [error] [client __client_ip__] Error > looking up test_user in database That means your query failed. The reason should be available from MySQL: it could

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Nick Kew
On Fri, 23 Feb 2007 22:15:01 +0600 "Sergey N. Romanov" <[EMAIL PROTECTED]> wrote: > Nick Kew wrote: > > > You want mod_proxy_html for that. > > See also http://www.apachetutor.org/admin/reverseproxies > > Yes, I see. But this is not exactly that we need. > In this example I can see that we shoul

[EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
I've got a FreeBSD 5.4-RELEASE box that I've just fallen into administering, with an existing Apache 2.0.58 install. One of my first tasks has been to get PHP4 installed, so that the site can support a blog and some other features. The PHP installation went smoothly, as I did it via FreeBSD's

[EMAIL PROTECTED] Problem with MySQL authn_dbd and virtual hosts

2007-02-23 Thread Zach Moazeni
Hello, I'm working with Apache 2.2.3, MySQL 4.1.12 on CentOS. I have compiled mod_dbd, authn_dbd (along with the apr_dbd_mysql.c from http://apache.webthing.com/database) and I've successfully configured authn_dbd on the base config. (httpd.conf) This is the sample httpd.conf blurb that

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Sergey N. Romanov
Nick Kew wrote: > You want mod_proxy_html for that. > See also http://www.apachetutor.org/admin/reverseproxies Yes, I see. But this is not exactly that we need. In this example I can see that we should specify ProxyPass and ProxyHTMLURLMap for each /XYZ/. Right? But we will have thousands of /XYZ

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Nick Kew
On Fri, 23 Feb 2007 21:07:13 +0600 "Sergey N. Romanov" <[EMAIL PROTECTED]> wrote: > I'll try to explain... You want mod_proxy_html for that. See also http://www.apachetutor.org/admin/reverseproxies -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetut

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Sergey N. Romanov
Hi, One more thing which I can't understand... When I make request with any browser (even with lynx), then this do not work... But when I make request with GET (script from perl lwp-request package), then this work as should!!! I.e. content filtered. This make me crazy. Any ideas?! -- Best r

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Sergey N. Romanov
Nick Kew wrote: > Yep. mod_ext_filter is checking the intype before it has that > information from the proxy. Thanks for advice! > Anyway, why are you using mod_ext_filter? Can't you do > what you want with a real filter? I have read mod_filter page at http://httpd.apache.org/docs/2.2/mod/mod

Re: [EMAIL PROTECTED] DirectoryIndex

2007-02-23 Thread matt farey
DirectoryIndex index.html index.php index.htm index.cgi index.phtml the order is key here. If you have multiviews on YMMV but that should do it. KOJC wrote: > Hi there, > > > I have uploaded my files to the Document Root and there are two files > , index.html and index.php. When I browse in th

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Sergey N. Romanov
Pid wrote: >> what you want with a real filter? > > or mod_proxy... I'll try to explain... User requested url like http://our.server/XYZ/page.html, we map XYZ to real server address, get specified page from this server and send received page to user. Problem is that page can contain images and

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Pid
Nick Kew wrote: On Fri, 23 Feb 2007 19:56:06 +0600 "Sergey N. Romanov" <[EMAIL PROTECTED]> wrote: Without rewrite engine filter works fine and I can see that content is changed by filter. But when rewrite engine is activated, then I can see, that content is not changed. Can someone explain me

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Nick Kew
On Fri, 23 Feb 2007 19:56:06 +0600 "Sergey N. Romanov" <[EMAIL PROTECTED]> wrote: > > Without rewrite engine filter works fine and I can see that content is > changed by filter. But when rewrite engine is activated, then I can > see, that content is not changed. > > Can someone explain me why th

[EMAIL PROTECTED] DirectoryIndex

2007-02-23 Thread KOJC
Hi there, I have uploaded my files to the Document Root and there are two files , index.html and index.php. When I browse in the browser, it will directly point to the file index.php but I need that I will point to index.html. I would like to know how can I configure the Directory so that the

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Sergey N. Romanov
> have you tried [P,L,T=text/html] This do not work. -- Best regards, Sergey N. Romanov - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. T

Re: [EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread matt farey
have you tried [P,L,T=text/html] Sergey N. Romanov wrote: > Hi, > > We need system which will make these things : > - user requested url like http://our.server/XYZ/page.html > - rewrite engine should map /XYZ/ to real server name and make proxy > request to http://another.server/page.html > - the

[EMAIL PROTECTED] mod_rewrite + proxy requests + mod_exf_filter

2007-02-23 Thread Sergey N. Romanov
Hi, We need system which will make these things : - user requested url like http://our.server/XYZ/page.html - rewrite engine should map /XYZ/ to real server name and make proxy request to http://another.server/page.html - then output filter should replace any specified content Sound like very eas