Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centurion without mod_php #54

Open
milch-shake opened this issue Feb 27, 2012 · 5 comments
Open

Centurion without mod_php #54

milch-shake opened this issue Feb 27, 2012 · 5 comments

Comments

@milch-shake
Copy link

Hey Guys,

is it possible to install/use Centurion with php-cgi?

@lchenay
Copy link
Contributor

lchenay commented Feb 28, 2012

It should work in CGI.

Do you have any problem ?

Laurent Chenay

http://www.centurion-project.org
Lead developer of Centurion CMF

2012/2/27 milch-shake <
[email protected]

Hey Guys,

is it possible to install/use Centurion with php-cgi?


Reply to this email directly or view it on GitHub:
#54

@milch-shake
Copy link
Author

Hm, yes i've got big problems with installation/configuration centurion.
i'm working on a manageServer not dedicated Server.

I've set all DB Tables, .htaccess files und APPLICATION_ENV manual in
the files.

when i try to go to admin there comes 404:

http://centurion.devserver01.de/admin

Please Help... i will use centurion, but dont know how to install :-(

Am 28.02.2012 11:58, schrieb Laurent:

It should work in CGI.

Do you have any problem ?

Laurent Chenay

http://www.centurion-project.org
Lead developer of Centurion CMF

2012/2/27 milch-shake<
[email protected]

Hey Guys,

is it possible to install/use Centurion with php-cgi?


Reply to this email directly or view it on GitHub:
#54


Reply to this email directly or view it on GitHub:
#54 (comment)

@lchenay
Copy link
Contributor

lchenay commented Feb 28, 2012

Seems that the mode_rewrite does not working or you don't have
"Allowoverride all".

Laurent Chenay

http://www.centurion-project.org
Lead developer of Centurion CMF

2012/2/28 milch-shake <
[email protected]

Hm, yes i've got big problems with installation/configuration centurion.
i'm working on a manageServer not dedicated Server.

I've set all DB Tables, .htaccess files und APPLICATION_ENV manual in
the files.

when i try to go to admin there comes 404:

http://centurion.devserver01.de/admin

Please Help... i will use centurion, but dont know how to install :-(

Am 28.02.2012 11:58, schrieb Laurent:

It should work in CGI.

Do you have any problem ?

Laurent Chenay

http://www.centurion-project.org
Lead developer of Centurion CMF

2012/2/27 milch-shake<
[email protected]

Hey Guys,

is it possible to install/use Centurion with php-cgi?


Reply to this email directly or view it on GitHub:
#54


Reply to this email directly or view it on GitHub:

#54 (comment)


Reply to this email directly or view it on GitHub:

#54 (comment)

@milch-shake
Copy link
Author

By Adding Line: Allowoverride all to centurion/.htaccess i will get an
500 Error.
My .htaccess File in centurion/.htacces (parent directory of public folder)

RewriteEngine On
RewriteBase /
#Allowoverride all
RewriteCond %{REQUEST_URI} ^/attachment/.*
RewriteRule ^attachment/(.*)$ /static/$1 [PT]

RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{QUERY_STRING} ^([^:]):([^:]):([^:])(:([0-9a-z]))?(.)$
[NC,OR]
RewriteCond %{QUERY_STRING}
^([a-zA-Z0-9
-])%3A([a-zA-Z0-9-])%3A([a-zA-Z0-9-])(%3A([0-9a-z]))?%3A(.)$
[NC]
RewriteRule ^public/static/(.
)/(.)$ public/files/%2/%5.centurion [NC,PT]

#Rewrite for static image (with effect)
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{QUERY_STRING} ^([^:]):([^:]):([^:]):([0-9a-z])(.)$
[NC,OR]
RewriteCond %{QUERY_STRING}
^([a-zA-Z0-9
-])%3A([a-zA-Z0-9-])%3A([a-zA-Z0-9-])%3A([0-9a-z])%3A(._)$
[NC]
RewriteRule ^public/files/.*$
public/media/image/get/id/%1/fileid/%2/key/%3/effect/%4/extra/%5? [NC,PT]

#Rewrite for static file
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{QUERY_STRING} ^([^:]):([^:]):([^:])(.)$ [NC,OR]
RewriteCond %{QUERY_STRING}
^([a-zA-Z0-9_-])%3A([a-zA-Z0-9-])%3A([0-9a-z])%3A(._)$ [NC]
RewriteRule ^public/files/.*$
public/media/file/get/id/%1/fileid/%2/key/%3/extra/%4? [NC,PT]

#Rewrite for cached file
#RewriteCond %{DOCUMENT_ROOT}/cached/index.html -f
#RewriteRule ^public/?$ public/cached/index.html [L]
#RewriteCond %{DOCUMENT_ROOT}/cached%{REQUEST_URI}.html -f
#RewriteRule public/.* public/cached%{REQUEST_URI}.html [L]
#RewriteCond %{DOCUMENT_ROOT}/cached%{REQUEST_URI}.css -f
#RewriteRule public/.* public/cached%{REQUEST_URI}.css [L]
#RewriteCond %{DOCUMENT_ROOT}/cached%{REQUEST_URI}.js -f
#RewriteRule public/.* public/cached%{REQUEST_URI}.js [L]
#RewriteCond %{DOCUMENT_ROOT}/cached%{REQUEST_URI}.xml -f
#RewriteRule public/.* public/cached%{REQUEST_URI}.xml [L]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.$ - [NC,L]
RewriteRule ^.
$ public/index.php [NC,L]

Am 28.02.2012 15:24, schrieb Laurent:

Seems that the mode_rewrite does not working or you don't have
"Allowoverride all".

Laurent Chenay

http://www.centurion-project.org
Lead developer of Centurion CMF

2012/2/28 milch-shake<
[email protected]

Hm, yes i've got big problems with installation/configuration centurion.
i'm working on a manageServer not dedicated Server.

I've set all DB Tables, .htaccess files und APPLICATION_ENV manual in
the files.

when i try to go to admin there comes 404:

http://centurion.devserver01.de/admin

Please Help... i will use centurion, but dont know how to install :-(

Am 28.02.2012 11:58, schrieb Laurent:

It should work in CGI.

Do you have any problem ?

Laurent Chenay

http://www.centurion-project.org
Lead developer of Centurion CMF

2012/2/27 milch-shake<
[email protected]

Hey Guys,

is it possible to install/use Centurion with php-cgi?


Reply to this email directly or view it on GitHub:
#54


Reply to this email directly or view it on GitHub:

#54 (comment)

Reply to this email directly or view it on GitHub:

#54 (comment)


Reply to this email directly or view it on GitHub:
#54 (comment)

@lchenay
Copy link
Contributor

lchenay commented Mar 13, 2012

"AllowOverride all" is a directive that must be set on vhost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants