httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Alcacibar <falcaci...@gmail.com>
Subject mod_rewrite and mod_fcgid pass wrong fcgi request
Date Thu, 12 Nov 2009 23:25:16 GMT
Hi, i was friyng my brain the whole day trying to use a mod_rewrite
simple rewrite to a php pathinfo running via mod_fcgid.

http://domain.tld/path/info/use -> http://domain.tld/index.php/path/info/use

i trying so much posibilities, but when i take a strace to a php-fcgi
application i found the surprise that php treats to open the file

redirect:/index.php/path/info/use

i cannot know if this behavior is a problem in mod_rewrite or mod_fcgid.
someone can guide me with this?

-- 
Felipe Alcacibar Buccioni
Desarrollo y asesoria en sistemas y soluciones en
tecnologías de la información y comunicación.

--
i am using
Gentoo Linux,
mod_fcgid-2.3.4 (the source unpatched from the offical apache site)
apache 2.2.11

rohan www # apache2 -V
Server version: Apache/2.2.11 (Unix)
Server built:   Nov 10 2009 17:59:53
Server's Module Magic Number: 20051115:21
Server loaded:  APR 1.3.8, APR-Util 1.3.9
Compiled using: APR 1.3.8, APR-Util 1.3.9
Architecture:   32-bit
Server MPM:     Worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

Mime
View raw message