[pmwiki-users] New wiki admin: wiki is up but ugly! skin files not loading?

Patrick R. Michaud pmichaud at pobox.com
Sat Mar 18 16:04:33 CST 2006

On Sat, Mar 18, 2006 at 02:58:18PM -0600, Ryan Ricard wrote:
> I just got my wiki up and running
> (http://www.utdallas.edu/cgi-bin/cgiwrap/rjr052000/pmwiki.php) .

Normally PmWiki should *not* be installed into a cgi-bin
directory.  The reason why this is failing is because
everything in the cgi-bin directory is being treated as a
script, and the skins (and other support files) aren't scripts.

Even though PHP is a scripting, scripts written in
PHP normally *aren't* loaded into a cgi-bin directory.  Usually
a PHP script should be placed in a "normal" html web directory,
where the webserver recognizes that it's to be executed as
a script because of the ".php" extension.

As proof of this, take a look at 
http://www.utdallas.edu/~asimpson/web/php/test.php, which is
running on the same server but is not in the cgi-bin directory.

So, what happens if you install PmWiki somewhere other than
a cgi-bin directory?


More information about the pmwiki-users mailing list