[EMAIL PROTECTED] How to configure Apache to processes .html file

2008-09-11 Thread Varuna Seneviratna
Hello When I save a file with a .html extension ,Apache does not processes the PHP script in it.How to configure Apache to processes PHP in .html files? Thanks Varuna -- Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141

Re: [EMAIL PROTECTED] Apache and lingering close

2008-09-11 Thread Matus UHLAR - fantomas
On 10.09.08 19:59, Arnab Ganguly wrote: MaxClients 256 and there are 4 instances.Server-stat page is not available as due to heavy load.This doesn't happen in case of normal traffic.This pause remains for sometime and again it comes back after a while. 4 instances of what? 4 childs of apache

Re: [EMAIL PROTECTED] How to configure Apache to processes .html file

2008-09-11 Thread Matus UHLAR - fantomas
On 11.09.08 12:57, Varuna Seneviratna wrote: When I save a file with a .html extension ,Apache does not processes the PHP script in it.How to configure Apache to processes PHP in .html files? - you should not name PHP files as .html - just do it the same way PHP files are marked to be

Re: [EMAIL PROTECTED] hardware for proxy

2008-09-11 Thread Matus UHLAR - fantomas
On 9/10/08, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: On 09.09.08 21:23, [EMAIL PROTECTED] wrote: 5000 reqs/sec @ 20 KB/req = 100 MB/sec = 1Gbaud. One gigabit network1 please don't mess bauds and bits per second. it's something very different.

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-11 Thread Krist van Besien
On Tue, Sep 9, 2008 at 10:25 PM, Zach Uram [EMAIL PROTECTED] wrote: . 2) in the apache.conf, there is something like Include /etc/apache2/sites-enabled/* I have a config layout similar to yours. What I do is prefix all my virtualhost configs with a number. So I have: 000_default 001_www etc...

Re: [EMAIL PROTECTED] Re: cgi-bin stopped working in apache ?! please help SOLVED

2008-09-11 Thread André Warnier
Zach Uram wrote: On Tue, Sep 9, 2008 at 3:54 PM, André Warnier [EMAIL PROTECTED] wrote: Just a guess : 1) the new entry you have added to /etc/apache2/sites-available (and sites-enabled) is called e.g. darcs, which for some reason precedes default in the directory. 2) in the apache.conf, there

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-11 Thread Jason Pruim
On Sep 10, 2008, at 2:21 PM, Justin Pasher wrote: Jason Pruim wrote: On Sep 10, 2008, at 1:38 PM, Justin Pasher wrote: Jason Pruim wrote: Actually it is... It was something that I tried to fix the problem. All the links refer to /mail.php though... BEGIN LOG 192.168.0.253 - -

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-11 Thread Eric Covener
On Thu, Sep 11, 2008 at 6:28 AM, Jason Pruim [EMAIL PROTECTED] wrote: Here is my .htaccess file... Does it look right? Options +FollowSymlinks RewriteEngine on RewriteLog /var/log/purl.virt.rewrite.log is this valdi in .htaccess? RewriteLogLevel 9 where's RewriteBase? RewriteCond

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 7:30 AM, Eric Covener wrote: On Thu, Sep 11, 2008 at 6:28 AM, Jason Pruim [EMAIL PROTECTED] wrote: Here is my .htaccess file... Does it look right? Options +FollowSymlinks RewriteEngine on RewriteLog /var/log/purl.virt.rewrite.log is this valdi in .htaccess? My

Re: [EMAIL PROTECTED] How to configure Apache to processes .html file

2008-09-11 Thread Norman Peelman
Varuna Seneviratna wrote: Hello When I save a file with a .html extension ,Apache does not processes the PHP script in it.How to configure Apache to processes PHP in .html files? Thanks Varuna -- Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620

[EMAIL PROTECTED] Performance problems

2008-09-11 Thread Thomas Moyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am having some problems with performance when using mod_python to serve some dynamic content. The request handler gathers information being generated by background processes on the system, and then creates a simple XML document that is sent

[EMAIL PROTECTED] Re: Regarding Apache HTTP Authentication with an Oracle Database

2008-09-11 Thread Steve Whitson
Hi Rajaopal M., In order to use the mod_dbd.so, and mod_authn_dbd.so modules with mysql I had to build the mysql dbd driver provided in the arp-util (within Apache httpd-2.2.9). To accomplish this I used the configure flag noted in apr-util: ./httpd-2.2.9/srclib/apr-util configure --help |

[EMAIL PROTECTED] problem serving large files

2008-09-11 Thread John LaCour
I'd like to make some very large files available for HTTP download from my Apache v2.2.3 server on RHEL5, but it's not working. I get the following error message: [error] [client 10.1.1.1] (13)Permission denied: access to /Very_Large_File.rar denied It would appear to be a file

[EMAIL PROTECTED] Proxy/Caching external sites

2008-09-11 Thread Olivier Marti
Dear all For our website we implemented the addthis-scripts be I want them to get proxied and cached our the server locally, so when the addthis server is down, or in generall, the Javascript from addthis is provided from our server only recaching it now and then from it's orignial source.

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-11 Thread Justin Pasher
Jason Pruim wrote: On Sep 11, 2008, at 7:30 AM, Eric Covener wrote: On Thu, Sep 11, 2008 at 6:28 AM, Jason Pruim [EMAIL PROTECTED] wrote: Here is my .htaccess file... Does it look right? Options +FollowSymlinks RewriteEngine on RewriteLog /var/log/purl.virt.rewrite.log is this valdi in

RE: [EMAIL PROTECTED] problem serving large files

2008-09-11 Thread Wilda, Jet
Could it be that you have SELinux enabled and it is messing with you? ~Jet From: John LaCour [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 10:03 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] problem serving large files I'd

Re: [EMAIL PROTECTED] How to configure Apache to processes .html file

2008-09-11 Thread Nick Kew
# these get processed by the php interpreter (space delimited) AddType application/x-httpd-php .php .htm .your extension here Please don't propagate that myth. Abusing AddType for server-side handlers is a grotty hack inherited from the NCSA server, and has been wrong since Apache 1.1 in 1996.

[EMAIL PROTECTED] Hebrew charset in apache2.conf

2008-09-11 Thread Andreas Prilop
The file apache2.conf specifies these default extensions for Hebrew charset ISO-8859-8: AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew However, ISO-8859-8 is a charset designation for *left-to-right* Hebrew that was useful for text/plain messages with hard line wrapping but that has no use

RE: [EMAIL PROTECTED] problem serving large files

2008-09-11 Thread John LaCour
Yeah, I do have SELinux enabled and thought about that. I think using sudo to open the file as 'apache' would have tested for that - can read the file that way. I'll try disabling it just to be 100% sure, but I don't think that's it. -John From: Wilda, Jet [mailto:[EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-11 Thread Jason Pruim
On Sep 11, 2008, at 11:14 AM, Justin Pasher wrote: Jason Pruim wrote: On Sep 11, 2008, at 7:30 AM, Eric Covener wrote: On Thu, Sep 11, 2008 at 6:28 AM, Jason Pruim [EMAIL PROTECTED] wrote: Here is my .htaccess file... Does it look right? Options +FollowSymlinks RewriteEngine on

RE: [EMAIL PROTECTED] problem serving large files

2008-09-11 Thread John LaCour
Well what do you know - disabling SELinux did the trick. Running as the 'apache' user under sudo vs. a daemon process must have a different SELinux security context. Thanks! From: Wilda, Jet [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2008 11:24 AM To:

Re: [EMAIL PROTECTED] hardware for proxy

2008-09-11 Thread solprovider
On 9/11/08, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: On 9/10/08, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: On 09.09.08 21:23, [EMAIL PROTECTED] wrote: 5000 reqs/sec @ 20 KB/req = 100 MB/sec = 1Gbps. One gigabit network1 it's even 800, not 1000 Mbits per second...

Re: [EMAIL PROTECTED] Checking if file or directory exist

2008-09-11 Thread Justin Pasher
Jason Pruim wrote: RewriteRule . /p.php [L] RewriteCond %{REQUEST_FILENAME} !-f You're not capturing or passing anything, and how do you get to mail.php? after you load purl.schreurprinting.com/jasonpruim112 there will be a link to

Re: [EMAIL PROTECTED] How to configure Apache to processes .html file

2008-09-11 Thread Norman Peelman
Nick Kew wrote: # these get processed by the php interpreter (space delimited) AddType application/x-httpd-php .php .htm .your extension here Please don't propagate that myth. Abusing AddType for server-side handlers is a grotty hack inherited from the NCSA server, and has been wrong since

Re: [EMAIL PROTECTED] How to configure Apache to processes .html file

2008-09-11 Thread swilting
.htm vs .phtm Le jeudi 11 septembre 2008 à 14:05 -0400, Norman Peelman a écrit : Nick Kew wrote: # these get processed by the php interpreter (space delimited) AddType application/x-httpd-php .php .htm .your extension here Please don't propagate that myth. Abusing AddType for

[EMAIL PROTECTED] Url rewrite and Tomcat

2008-09-11 Thread Alessandro Fantuzzi
Hi, I work for a web factory. We have many sites made with jsp pages, so we have Apache and Tomcat working together. For these sites we put rules like this in httpd.conf: RewriteRule ^/folder/([^/]+)_language/([^/]+)_([^/]+)/([^/]+)_([^/]+)\.html /folder/my_page.jsp?sez=$2pag=$4 [R,L] This

Re: [EMAIL PROTECTED] Url rewrite and Tomcat

2008-09-11 Thread Eric Covener
http://www.my_site.com/folder/1_language/90_Products/126_Product.html you get this error: HTTP Status 404 - /folder/1_language/90_Products/126_Product.html RewriteRule ^/folder/([^/]+)_language/([^/]+)_([^/]+)/([^/]+)_([^/]+)\.html /folder/my_page.jsp?sez=$2pag=$4 [L] [PT] flag? -- Eric

Re: [EMAIL PROTECTED] Logs

2008-09-11 Thread Grant Peel
Hi Justin, Thanks for the reply. FYI I am using UNIX (freebsd). Up tp this point, I have been using an sh script to rotate logs. The logs in question are the access_log and error_log in each one of my (Apache) virtual hosts. logrotate looks like the cats meow! I have read the man page and

Re: [EMAIL PROTECTED] Logs

2008-09-11 Thread Justin Pasher
Grant Peel wrote: Hi Justin, Thanks for the reply. FYI I am using UNIX (freebsd). Up tp this point, I have been using an sh script to rotate logs. The logs in question are the access_log and error_log in each one of my (Apache) virtual hosts. logrotate looks like the cats meow! I have

Re: [EMAIL PROTECTED] Logs

2008-09-11 Thread Grant Peel
Justin, Kewl! There are a few users in the home directory as well, and those users do not have a logs directory. How will logrotate handle that? (I am hoping you will say it just ignores a non existent path/file). -Grant - Original Message - From: Justin Pasher [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Logs

2008-09-11 Thread Justin Pasher
Grant Peel wrote: Justin, Kewl! There are a few users in the home directory as well, and those users do not have a logs directory. How will logrotate handle that? (I am hoping you will say it just ignores a non existent path/file). -Grant You will be safe. The wildcards simply use the