Re: [EMAIL PROTECTED] mod_rewrite: RewriteRule to strip index.html?

2006-05-21 Thread Robert Ionescu
Ian Brandt wrote: Looked good, until the "add path info postfix" part. That's a bug. http://issues.apache.org/bugzilla/show_bug.cgi?id=38642 Use the L-Flag to stop immediately (there will be a redirect processing) or place the rules into httpd.conf (per-server context). -- Robert -

[EMAIL PROTECTED] Apache-how to made Cross Compilation to ARM

2006-05-21 Thread MOHAMED Ibrahim
I read this part in the apache manual   --build=BUILD Defines the system type of the system on which the tools are being built. It defaults to the result of the script config.guess. --host=HOST Defines the system type of the system on which the server will run. HOST defaults to BUILD. --target=

RE: [EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Noah
On Sun, 21 May 2006 23:07:58 -0500, Graham Frank wrote > Try looking for just "libphp". I'm not all that great with FreeBSD > (I don't use it), so I can't help you with the ports. If all else > fails, you could try and compile your own PHP from source? This > should guarantee the creation of

RE: [EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Graham Frank
Try looking for just "libphp". I'm not all that great with FreeBSD (I don't use it), so I can't help you with the ports. If all else fails, you could try and compile your own PHP from source? This should guarantee the creation of the libphp4.so file. --Graham Frank -Original Message- F

Re: [EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Noah
On Sun, 21 May 2006 15:00:00 -0500, Graham Frank wrote > Check if the libphp4.so file is listed in the httpd.conf file in the > LoadModule section. Okay I uncommented the php4_module line in my httpd.conf file. now there is a new error. looks like libphp4.so does not exist. the php4 build fro

[EMAIL PROTECTED] Re: Configuration given in online manual for php not working

2006-05-21 Thread chris
Thanks, that got the httpd server running with the php configuration in the .conf file. when I try htp://localhost I get the message "It works!", don't know if that is correct. But if I then put in htp://localhost/phpHello.php, it finds the file in htdocs no problem, but I just get the php file

Re: [EMAIL PROTECTED] mod_rewrite: RewriteRule to strip index.html?

2006-05-21 Thread Ian Brandt
Nick Kew wrote: > I don't know why mod_rewrite does that. Under normal > circumstances, mod_dir will do that according to your > DirectoryIndex setting. Just to be sure there was no unintended interaction by mod_dir I changed the rule from: RewriteRule ^(.*)index\.html$ $1 to: RewriteRule ^(.

Re: [EMAIL PROTECTED] mod_rewrite: RewriteRule to strip index.html?

2006-05-21 Thread Nick Kew
On Sunday 21 May 2006 22:40, Ian Brandt wrote: > Looked good, until the "add path info postfix" part. I don't know why mod_rewrite does that. Under normal circumstances, mod_dir will do that according to your DirectoryIndex setting. -- Nick Kew

Re: [EMAIL PROTECTED] Apache 2.0.55 on WinXP sends only part of file

2006-05-21 Thread Nick Kew
On Sunday 21 May 2006 22:58, Herr Bohm verboom wrote: > xxx.xxx.xxx.xxx - - [21/May/2006:23:40:21 +0200] "GET /files/file.rar > HTTP/1.1" 304 - Look up HTTP 304. Your browser said "send me /files/file.rar, but only if it's changed since I got the copy I've got in cache". 304 is apache saying "i

[EMAIL PROTECTED] Re:Configuration given in online manual for php not working

2006-05-21 Thread Oluwatope Akinniyi
Please get http://www.apachelounge.com/download/mods/php5apache2.dll-php5.1.x.zip for a fix. Note: You need .NET 2.0 runtime for it to work. Regards Tope. chris <[EMAIL PROTECTED]> wrote: Hi, I am trying to use apache httpd 2.2 and php 5.1.4.4 on windows xp. the php was manually installed

Re: [EMAIL PROTECTED] Apache 2.0.55 on WinXP sends only part of file

2006-05-21 Thread Dmitri Colebatch
sounds like a mimetype issue to me. what are the response headers? On 5/22/06, Herr Bohm verboom <[EMAIL PROTECTED]> wrote: Hello When i'm trying to download a file bigger then 150kb both Firefox and Internet Explorer dont ask me if i want to download it but apache displays a small part of the

[EMAIL PROTECTED] Apache 2.0.55 on WinXP sends only part of file

2006-05-21 Thread Herr Bohm verboom
Hello When i'm trying to download a file bigger then 150kb both Firefox and Internet Explorer dont ask me if i want to download it but apache displays a small part of the binary file as html. I tried reinstalling it but without succes. There are no errors in the error log and this is in the acces

[EMAIL PROTECTED] mod_rewrite: RewriteRule to strip index.html?

2006-05-21 Thread Ian Brandt
Hi, I'm trying to strip 'index.html' from incoming URLs with mod_rewrite. My current RewriteRule incarnation is: RewriteRule ^(.*)/index\.html$ $1/ However, watching my RewriteLog I see (stripped down and paraphrased for clarity): (3) add path info postfix: /document/root/foo -> /document/roo

Re: [EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Graham Frank
Check if the libphp4.so file is listed in the httpd.conf file in the LoadModule section. LoadModule php4_module modules/libphp4.so tho modules could be libexec or any other directory apache places its modules. --Graham Frank -Original Message- From: "Noah" <[EMAIL PROTECTED]> Subj:

Re: [EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Noah
On Sun, 21 May 2006 13:33:00 -0500, Graham Frank wrote > Hello, > > It appears that you do not have PHP installed. You can download PHP > at www.php.net and compile it as an apache module using --with-apxs2=/path/to/apxs Yeah that did not work. I reinstalled php4 from the /usr/ports and still

Re: [EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Noah
On Sun, 21 May 2006 13:33:00 -0500, Graham Frank wrote > Hello, > > It appears that you do not have PHP installed. You can download PHP > at www.php.net and compile it as an apache module using --with-apxs2=/path/to/apxs Weird. pkg_info is showing php4-4.2.2_2 installed with the apache module.

Re: [EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Graham Frank
Hello, It appears that you do not have PHP installed. You can download PHP at www.php.net and compile it as an apache module using --with-apxs2=/path/to/apxs --Graham Frank -Original Message- From: "Noah" <[EMAIL PROTECTED]> Subj: [EMAIL PROTECTED] Invalid command 'php_flag' Date:

[EMAIL PROTECTED] Invalid command 'php_flag'

2006-05-21 Thread Noah
apache-2.2.2 freebsd-4.11 Hi there, I think I have an important module missing. Can somebody please help me figure out what the next step of troubleshooting is for this situation? --- snip --- # /usr/local/etc/rc.d/apache22.sh restart Performing sanity check on apache22 configuration: Syntax e

Re: [EMAIL PROTECTED] how to compile Apache to work on ARM Processor?

2006-05-21 Thread Rainer Sokoll
On Sun, May 21, 2006 at 08:48:23AM +, MOHAMED Ibrahim wrote: > how can i check that   > "arm-linux-gcc"  compiler is the compiler used in the > compilation process, since i read in the apache manual, the option > will be ignored if it does not match? I'd use "make > make.log 2>&1" and examin

RE: [EMAIL PROTECTED] how to compile Apache to work on ARM Processor?

2006-05-21 Thread MOHAMED Ibrahim
>From: "Boyle Owen" <[EMAIL PROTECTED]>>Reply-To: users@httpd.apache.org >To: >Subject: RE: [EMAIL PROTECTED] how to compile Apache to work on ARM  Processor? >Date: Thu, 18 May 2006 13:01:58 +0200 > > > -Original Message- > > From: MOHAMED Ibrahim [mailto:[EMAIL PROTECTED] > > Sent: Th

Re: [EMAIL PROTECTED] FreeBSD 6.1

2006-05-21 Thread Nathan Seven
On May 20, 2006, at 4:44 PM, Ivan Sønsteby (infernus) wrote: The Shili-thingy is now known as Sun Active Server Pages software or something, and it does not work with FreeBSD, but I wonder if the Apache with ASP in it's name may work, or if the Mono ASP software is ok.. Or does it require