Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: calisun on April 01, 2011, 07:43:02 AM
-
I have been using the following command to enable htaccess file rewrites on SME server for a while now, and everything seems to work fine. The issue is when I enable PHP5-cgi for a given ibay, following command seems not to work for that ibay. Even if I re-issue the following command after enabling PHP5-cgi, it still does not work.
Is there a different command I should be using on PHP5-cgi enabled ibay?
db accounts setprop [ibayname] FollowSymLinks enabled
db accounts setprop [ibayname] AllowOverride All
signal-event ibay-modify [ibayname]
-
Is there a different command I should be using on PHP5-cgi enabled ibay?
Off-topic for this forum - php5-cgi is not installed from the SME server CD rom.
.htaccess file support is not required. Anything you need can be done via a suitable custom template.
-
Off-topic for this forum
Agree, thanks for moving it from SME7 to SME7 Contribs forum.
Charlie, I know you have expressed a concern in the past about .htaccess security, but this is a server where I am the only user on it and no one else has access to it, so the security is not a big issue here.
I have already tried creating templates before instead of .htaccess, and I got locked out of the server. But when I put the same information back into .htaccess file, everything worked fine. Besides, now my server is residing in a co-location facility, an hour drive from my house, so I don't want to risk getting locked out again.
SO, does anybody know how to enable .htaccess file rewrites for PHP5-cgi ??
.
-
I guess that is not possible??
I wish SME8 would be finally stable, so all these issues would no longer be an issue.
-
I wish SME8 would be finally stable, so all these issues would no longer be an issue.
SME8 is stable.. it's not been released yet.. :-)
-
I found one site online that implied that if you're using php5-cgi then *some* directives that should work in .htaccess don't, and have to be moved to php.ini (I kept looking for a clear statement in this regard, and ended up losing the original page).
I'm pretty sure that php5-cgi is actually using /etc/php5/php.ini -- so you could manually add your changes to that file, issue sv restart httpd-e-smith, and see if things work...
A google or two for 'php5-cgi' plus the directives that aren't working might shed some light.
-
I'm pretty sure that php5-cgi is actually using /etc/php5/php.ini -- so you could manually add your changes to that file, issue sv restart httpd-e-smith, and see if things work...
Using php5-cgi there is no need to restart httpd-e-smith - php5-cgi is not running within the context of the apache process, but runs as a separate CGI process.
-
I'm pretty sure that php5-cgi is actually using /etc/php5/php.ini -- so you could manually add your changes to that file, issue sv restart httpd-e-smith, and see if things work...
just a cosmetic note: mmccarn, could you please use the standard "code" tag next time? thank you
-
SME8 is stable.. it's not been released yet.. :-)
Good to hear, I am anxiously waiting. I have big plans for my SME powered web server, but I can't continue my development because I am being held back by outdated PHP and SQL.