Alt-Python - Turning off passenger on subdirectory
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Eric Merkel
  2. 26.04.2016
  3.  Subscribe via email
python passenger
Rate this post:
  1. 26.04.2016 17:04:12
  2. # 1
Eric Merkel Accepted Answer
Posts: 15
Joined: 31.12.2014
0
Votes
Undo
I am trying to turn off passenger for a subdirectory for a web application. For whatever reason it keeps getting routed to python instead of normal web server. Here is how I set it up.

Created directory virtualhost.conf file here /usr/local/apache/conf/userdata/std/2_2/username/domain.org which included


   PassengerEnabled off
   AllowOverride all


/scripts/ensure_vhost_includes --user=user
/scripts/restartsrv_httpd

Any ideas what I am missing or why this is not working?

Best regards,
Eric
  1. 27.04.2016 15:04:40
  2. # 2
Eric Merkel Accepted Answer
Posts: 15
Joined: 31.12.2014
0
Votes
Undo
I've check and the Include file is in the main httpd.conf but it is still not working. 

I also tried the .htaccess method but I am getting the following error.

"
I am scratching my head.



Eric
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.