wrong relative URL paths with CGI after admin login - Joomla! Forum - community, help and support


hi joomla! developers,

i tried joomla 1.5beta (fresh download current svn trunc) , installed minor problems in shared hosting environment.

the 2 minor problems "get collations" , "install default sample data" both hang.  continued anyway , seemd installed simpler default frontpage used 1.0.

but after admin login, redirected to: http://www.example.org/cgi-bin/php4joom ... com_config

where expected likely
    http://www.example.org/administrator/in ... com_config

i using php via cgi .htaccess this:

addtype application/x-httpd-phpcgi .php
action application/x-httpd-phpcgi /cgi-bin/php4joomla/php4stub

thus /cgi-bin/php4joomla cgi processes php not files are.

this happens , without "rewritebase /", , without further rewriterules.

the same effect occurs in other situations after login. refresh of source in site/config.

is there can this?  or missing in joomla! 1.5 yet?

thanks
    michael

hi michael,

for now, can try following:
in /libraries/joomla/environment/uri.php, change line 197 from

code: select all

         $base .=  rtrim(dirname($_server['script_name']), '/\\').'/';

to

code: select all

         $base .=  rtrim(dirname($_server['php_self']), '/\\').'/';


we still need find out side effects on systems, that's why fix not in svn anymore.





Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support