Re: [EMAIL PROTECTED] PHP and .htaccess

2008-09-15 Thread Alain Roger
> > Alain, let me insist. > Did you configure a RewriteLog and RewriteLogLevel, and did you look at the > resulting lines, to see what happens ? > It may save you a lot of wondering. > > Apart from that, from the above I guess that somewhere you have a config > line like > DirectoryIndex index.php

Re: [EMAIL PROTECTED] PHP and .htaccess

2008-09-15 Thread André Warnier
Alain Roger wrote: Hi, if i make a compilation of all information i have between PHP and apache RewriteRule i have an issue. let's take an example. 1. user types in his favorite browser www.website.com 2. www.website.com/index.php redirects user to www.website.com/en/welcome/(index.php within

Re: [EMAIL PROTECTED] PHP and .htaccess

2008-09-15 Thread Eric Covener
On Mon, Sep 15, 2008 at 8:06 AM, Alain Roger <[EMAIL PROTECTED]> wrote: > even if i have in my .htaccess file: > RewriteRule ^/([A-Za-z0-9-]+)/welcome/$ /welcome/index.php?lang=$1 [NC,L] No leading slash is present in what you match against in .htaccess (it's stripped off along with the RewriteBa

[EMAIL PROTECTED] PHP and .htaccess

2008-09-15 Thread Alain Roger
Hi, if i make a compilation of all information i have between PHP and apache RewriteRule i have an issue. let's take an example. 1. user types in his favorite browser www.website.com 2. www.website.com/index.php redirects user to www.website.com/en/welcome/(index.php within /welcome) thanks the

Re: [EMAIL PROTECTED] php and .htaccess

2005-09-15 Thread blackwater dev
Sorry, I have this in an .htaccess file for example: php_value auto_prepend_file ../../lib/matrix.php This contains global data/functions, etc. When I run a script within the folder where this .htaccess files lives, I get php errors of undefined classes. If I simply add an include("../../lib/m

Re: [EMAIL PROTECTED] php and .htaccess

2005-09-15 Thread Davide Bianchi
blackwater dev wrote: > > [Thu Sep 15 04:28:12 2005] [notice] caught SIGTERM, shutting down > [Thu Sep 15 04:28:15 2005] [notice] Apache/2.0.52 (Unix) PHP/5.0.3 > configured -- resuming normal operations It means : ok. now I'm working. > can someone shed some light on all this? You first. *what

[EMAIL PROTECTED] php and .htaccess

2005-09-15 Thread blackwater dev
Ok, I am having problems with .htaccess files. I am trying to set certain php directives using .htaccess files. First it was complaining about several things such as mcrypt and zde: Wed Sep 14 20:04:46 2005] [notice] caught SIGTERM, shutting down PHP Warning: PHP Startup: Unable to load dynamic