Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I have apache2 and mod_python working great but theres one issue. I have a index.py script that needs sethandler mod_python in the virtual host, but it makes the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Location
    uk
    Posts
    22

    issue with apache virtual hosts , can this be done


    Hi all,

    I have apache2 and mod_python working great but theres one issue. I have a index.py script that needs sethandler mod_python in the virtual host, but it makes the index.html become forbiddon. When i disable sethandler mod_python the index.html comes back to life and runs.

    My question is , is there a way of having both run but still have the sethandler mod_python on as i need this to be on, but to allow the index.html file to run aswell



    Many Thanks

  2. #2
    Just Joined!
    Join Date
    Jul 2009
    Location
    uk
    Posts
    22
    Dont worry i sorted it by using mod rewrite

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •