0
Отвечен

Default vhost file location?

Main Street James 7 лет назад обновлен Eugene Pankov (Project coordinator) 7 лет назад 3

Sorry if this is a duplicate post. I don't see my original. 


Does Ajenti use its own default vhost file? If so, in which directory is it located?

Ответ

Ответ
Отвечен

Do you mean the Apache plugin? Vhost template is hardcoded in the plugin, unfortunately.


ХОРОШО, МНЕ ПОНРАВИЛОСЬ
Оценка удовлетворенности от Main Street James 7 лет назад
Ответ
Отвечен

Do you mean the Apache plugin? Vhost template is hardcoded in the plugin, unfortunately.


Thanks. Not what I wanted to hear but not a major obstacle. 


Really like Ajenti. Keep up the good work.

I managed to change Vhost template in file:

/usr/lib/python2.6/site-packages/ajenti/plugins/apache/main.py
Using Ajenti on Centos.

Thanks for the file name :-)


On Ubuntu (12.04.3 LTS) the location is (I'm running python2.7):

/usr/lib/pymodules/python2.7/ajenti/plugins/apache/main.py  (a symlink) 


The symlink points to:

/usr/share/pyshared/ajenti/plugins/main/main.py

Сервис поддержки клиентов работает на платформе UserEcho