Apache mod perl2 in ispconfig

Discussion in 'Installation/Configuration' started by Croydon, Aug 16, 2012.

  1. Croydon

    Croydon HowtoForge Supporter

    Hi,

    I did not find anything about this in the forum or the tracker.
    Does ISPC 3 support mod_perl2 or is perl only supported through cgi?

    I have some webs that need to be ported from mod_perl enabled webspace and those have .pl scripts in the web dir, not in cgi-bin.

    I did not see any perl option in the website creation or client limits.

    Thanks
     
  2. till

    till Super Moderator

    There is no mod_perloption available, but you should be able to enable mod_perl trough the custom apache directives field of the website.
     
  3. Croydon

    Croydon HowtoForge Supporter

    Does it make sense to integrate this kind of option / limit into ispc or is it a problem because of ispconfig being capable of nginx webserver?
     
  4. cfoe

    cfoe ISPConfig Developer

    for start (if integrated) perl could be limited to apache servers.

    EDIT: I installed mod_perl for OTRS on my server this morning and now I read your thread :)
     
  5. Croydon

    Croydon HowtoForge Supporter

  6. cfoe

    cfoe ISPConfig Developer

    is there a mod_perl2 ?

    For CentOS there is only mod_perl in version 2.x
     
  7. Croydon

    Croydon HowtoForge Supporter

    On debian it is named "libapache2-mod-perl2" ;)
     
  8. Croydon

    Croydon HowtoForge Supporter

    http://bugtracker.ispconfig.org/index.php?do=details&task_id=2379

    Done - that went smoothly ;) So if you like you can test it, it's in svn already.


    Edit:
    On debian you need the following to make it work as these steps are not part of the perfect server tutorial, yet.

    apt-get install libapache2-mod-perl2
    a2enmod perl
    /etc/init.d/apache2 restart

    Thats all.
     
    Last edited: Aug 16, 2012
  9. cfoe

    cfoe ISPConfig Developer

    that I will do :)

    One point more for Falko for his "Perfect Server" guides.
    It keeps getting better and better ....
     

Share This Page