Menu

SCRIPT_NAME

Help
2007-09-05
2012-10-11
  • Harry R Erwin

    Harry R Erwin - 2007-09-05

    How do I define a SCRIPT_NAME in config.ini that has a leading tilde ("~harryerw/phpwiki/index.php" for example)? The reason is that on a Macintosh, if you're running a personal web server, that is what you have to do...

     
    • Harry R Erwin

      Harry R Erwin - 2007-09-06

      Fixed the second problem by editing Response.php. It turns out this was an incompatibility introduced by php 5.

       
    • Scott Auge

      Scott Auge - 2007-09-05

      You could try \~harryerw...

      But you don't have to.

      If you place your pages in /Library/WebServer/Documents you can access it at the machine name.

      Be aware, if you do a full point upgrade on the OS, it will wipe this directory out. (It won't for minor software updates, as in the freebies Apple sends out.)

       
      • Harry R Erwin

        Harry R Erwin - 2007-09-05

        Actually, I've tried your recommended solution and it doesn't work. It's an existing wiki that we don't want to move. We upgraded to PHP 5 to allow another user to set up a MediaWiki.

         
    • Harry R Erwin

      Harry R Erwin - 2007-09-05

      We solved the problem by using \7E instead of ~

      Now we're trying to figure out how to get ?pagename=XXX to work.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.