BlackStonedLover / fluxcp

Automatically exported from code.google.com/p/fluxcp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Problem with 'BaseURI' setting in 'config/application.php' #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Obtain svn source, install dependencies & enable URI rewriting in Apache
2. Edit 'BaseURI' setting to '/', '/website/' or 'http://flux/' (set in
/etc/hosts)

What is the expected output? What do you see instead?
Expected output: I expect to see the installation screen
Actual output: 500 - Internal server error.

What version of the product are you using? On what operating system?
svn revision 251

Please provide any additional information below.
/var/log/apache2/error.log:
'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel
debug' to get a backtrace.
[Tue Sep 16 01:18:53 2008] [debug] core.c(3046): [client 127.0.0.1] r->uri
= /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /~kuja/flux/index.php
[Tue Sep 16 01:18:53 2008] [debug] core.c(3052): [client 127.0.0.1]
redirected from r->uri = /install/
[Tue Sep 16 01:20:28 2008] [error] [client 127.0.0.1] File does not exist:
/var/www/website/install, referer: http://infamousro.com/~kuja/

It seems it's still refering to ~kuja - even after changing the BaseURI
setting.  If I put the package in /var/www/~kuja/flux/, I don't get the 500
error.

- nevelis

Original issue reported on code.google.com by neve...@gmail.com on 15 Sep 2008 at 1:27

GoogleCodeExporter commented 8 years ago
Updated: cause of the problem was .htaccess RewriteBase was not set - however, 
if
config/application.php contains just "/" (ie: running out of the root), the 
redirect
will redirect to http://install, instead of http://infamousro.com/install.  
This can
be worked around by setting BaseURI to "./"

Original comment by neve...@gmail.com on 16 Sep 2008 at 1:26

GoogleCodeExporter commented 8 years ago

Original comment by shugoten...@gmail.com on 16 Sep 2008 at 8:16