Hello
Like a title.
I don't know i-MSCP have already support python.
Have support it?
If no,Could I add this function?
Could i-MSCP have support python?
- akong7777
- Thread is marked as Resolved.
-
-
Hey there, atm no and yes with knowledge you sure could add it.
-
-
You mean I can add it?
How to add it?Could you tell me where is knowledge?
thanks a lot. -
Hm I would add it with a listener-file vor adding vhost-entries to domains part-config. If you tell me the correct content I need to add to the vhost-file, I could create a listener-file for you..
-
-
Thank you very much.
This is my vhosts-file.Quote
<VirtualHost 10.168.168.122:80>
ServerAdmin webmaster@shop.4eye.com.tw
ServerName shop.4eye.com.tw
ServerAlias www.shop.4eye.com.tw vu2010sub1.admin.KS-PUB02.kaising.com.twDocumentRoot /var/www/virtual/4eye.com.tw/shop/htdocs
LogLevel error
ErrorLog /var/log/apache2/shop.4eye.com.tw/error.logAlias /errors /var/www/virtual/4eye.com.tw/errors/
SuexecUserGroup vu2010 vu2010
<Directory /var/www/virtual/4eye.com.tw>
Options +SymLinksIfOwnerMatch
Allow from all
</Directory><Directory /var/www/virtual/4eye.com.tw/shop/htdocs>
AllowOverride All
Options +ExecCGI
FCGIWrapper /var/www/fcgi/shop.4eye.com.tw/php-fcgi-starter
</Directory>ScriptAlias /cgi-bin/ /var/www/virtual/4eye.com.tw/shop/cgi-bin/
<Directory /var/www/virtual/4eye.com.tw/shop/cgi-bin>
AllowOverride AuthConfig Indexes Limit Options=Indexes
</Directory>ProxyRequests Off
ProxyPass /stats http://localhost/stats/shop.4eye.com.tw
ProxyPassReverse /stats http://localhost/stats/shop.4eye.com.tw<Location /stats>
RewriteEngine on
RewriteRule ^(.+)?config=([^?&]+)(.*) $1?config=shop.4eye.com.tw&$3 [NC,L]
AuthType Basic
AuthName "Statistics for domain shop.4eye.com.tw"
AuthUserFile /var/www/virtual/4eye.com.tw/.htpasswd
AuthGroupFile /var/www/virtual/4eye.com.tw/.htgroup
Require group statistics
</Location>Include /etc/apache2/imscp/shop.4eye.com.tw.conf
</VirtualHost>Is it correct file?
-
I need the python-implementation, what you write into your vhost-file to run Python scripts..
-
-
Oh,So do you need .py script file?
-
No, edit your vhost-file, if you can run Python scripts with that new apache2-vhost, send me the changes oft the file, then I'll create a listener-file. Otherwise you could also donate for that feature..
-
-
OK,I will try and test it.Thanks a lot.