Ticket #4854: 4854.diff

File 4854.diff, 838 bytes (added by adamv, 8 years ago)
  • docs/modpython.txt

     
    8989
    9090.. caution::
    9191
    92     If you're using Windows, remember that the path will contain backslashes.
    93     This string is passed through Python's string parser twice, so you need to
    94     escape each backslash **twice**::
     92    Forward slashes are recommended even if you are using Windows::
    9593
    96         PythonPath "['c:\\\\path\\\\to\\\\project'] + sys.path"
     94        PythonPath "['c:/path/to/project'] + sys.path"
    9795
    98     Or, use raw strings::
    9996
    100         PythonPath "[r'c:\\path\\to\\project'] + sys.path"
    101 
    10297You can also add directives such as ``PythonAutoReload Off`` for performance.
    10398See the `mod_python documentation`_ for a full list of options.
    10499
Back to Top