Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th April 2009, 05:40
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
Default How can I enable perl on apache2?

Can Ispc serve perl pages?
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
Reply With Quote
Sponsored Links
  #2  
Old 4th April 2009, 06:25
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
Default

with suexec:
suexec policy violation: see suexec log for more details
Premature end of script headers: test.pl

without
(13)Permission denied: exec of '/var/clients/client2/web19/cgi-bin/test.pl' failed
Premature end of script headers: test.pl


where is the suexec log :S
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
Reply With Quote
  #3  
Old 4th April 2009, 10:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,660 Times in 4,467 Posts
Default

Quote:
Can Ispc serve perl pages?
sure.

Quote:
with suexec:
suexec policy violation: see suexec log for more details
Premature end of script headers: test.pl

without
(13)Permission denied: exec of '/var/clients/client2/web19/cgi-bin/test.pl' failed
Premature end of script headers: test.pl
The problem is that you can not use suexec in directories outside of /var/www. Thats why we changed the directory path for the clients directory from /var/clients to /var/www/clients in ispconfig starting from C 2 if I remember correctly.

There is no easy fix as suexec has the path /var/www compiled into its binary. Either you use the cgi scripts without perl or you have to move the /var/clients directory to /var/www/clients and then update in ispconfig the directory path and symlink paths in the server settings and afterwards you will have to modify every site, ftp user and shell user. This should work but I did not tried it yet.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 4th April 2009, 21:53
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
 
Default

I moved just 1 site and create the symbolic links
It works, but I hope ispconfig will handle that correctly
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
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
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 24th September 2008 00:58
Runaway Perl aws910 Server Operation 2 19th November 2007 18:24
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 12:31
Fedora Core 6 install issues moos3 Installation/Configuration 10 22nd March 2007 19:25
Another ERROR: The PHP binary coming with ISPConfig does not work properly on your sy hoopsx3 Installation/Configuration 2 29th January 2007 08:56


All times are GMT +2. The time now is 10:08.


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