Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th October 2007, 14:11
zanard zanard is offline
Junior Member
 
Join Date: Apr 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is suphp working with ispconfig version 2.2.17

I want to execute PHP scripts with the permissions of their owners.
I tested suphp configuration on my server but something goes wrong... so I have few question before I continue to find solution for create/modify files with php...

- Is suphp working with ispconfig version 2.2.17?
- Is possible to use scripts without extension as php scripts, like "index" instead of "index.php" after suphp is activated?
- I find out that under cgi setting you don't have possibilities to use .htaccess directives like "RewriteRule, is it right?

At the moment I have in .htaccess file following lines to activate all scripts which don't have extension as php script.

RewriteEngine On
RewriteRule ^[^.]+$ - [T=application/x-httpd-php,L]

or is there better solution to do that.

Last edited by zanard; 7th October 2007 at 14:14.
Reply With Quote
Sponsored Links
  #2  
Old 7th October 2007, 16:28
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default suPHP with ISPConfig

Yes, you ISPConfig is compatible with suPHP.
In the howtos mentioned here, you find a guide how to setup suphp on your ISPConfig server:

http://www.howtoforge.com/suphp_debian_etch_ispconfig
http://www.howtoforge.com/suphp_debian_ispconfig
http://www.howtoforge.com/suphp_fedo...with_ispconfig
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #3  
Old 8th October 2007, 08:25
zanard zanard is offline
Junior Member
 
Join Date: Apr 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default use scripts without extension as php scripts when php is installed as cgi

Thank you for your answer.
But still I need solution other questions/problems... I want to use files without extension as php scripts as mentioned first post but when I made suphp installation rewrite rule in apache directive not working anymore or I made some mistake in configuration.
Maybe some smart guy share hes own experience how to solve this problem.
Reply With Quote
  #4  
Old 8th October 2007, 11:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,070
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

AsHans said, ISPConfig supports SuPHP. Have a look at the error.log file in the log directory of the website to see if your rewrite code causes some errors. Also make sure that your rewrite code uses the same application type that is registered for SuPHP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 8th October 2007, 21:44
zanard zanard is offline
Junior Member
 
Join Date: Apr 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default session problem

Thank you Till, your answer helps me to solve my problem. I changed application type and everything works except sessions. php sessions don't work correctly.

Found mistake, wrong permissions...

Last edited by zanard; 8th October 2007 at 22:50.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08
doubt about apache version with ispconfig... lyndros Installation/Configuration 1 7th October 2007 11:22
suPHP not working lazat Server Operation 1 18th June 2006 20:00
How to install new Uebimiau version from uebimiau.org within ISPConfig Hans Installation/Configuration 5 1st February 2006 12:41
Documents for ISPConfig in Traditional Chinese version rosa hsiao Installation/Configuration 2 29th November 2005 12:36


All times are GMT +2. The time now is 02:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.