Announcement

Collapse
No announcement yet.

Alt-Python - Turning off passenger on subdirectory

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alt-Python - Turning off passenger on subdirectory

    python passenger

  • #2
    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

    Comment


    • #3
      By the way, another working method is to place "PassengerEnabled off" into /home/user/public_html/database/admin/.htaccess file.

      Comment


      • #4
        Ive 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

        Comment


        • #5
          Eric, just place single line into .htaccess file:

          Code:
          PassengerEnabled off

          Comment

          Working...
          X