[pmwiki-users] New wiki admin: wiki is up but ugly! skin files not loading?
Patrick R. Michaud
pmichaud at pobox.com
Sat Mar 18 17:15:44 CST 2006
On Sat, Mar 18, 2006 at 04:53:34PM -0600, Ryan Ricard wrote:
> As of right now all of pm wiki is installed in public_html/pmwiki
> The one file in public_html/cgi-bin is pmwiki.php. which is modified
> to the following:
> #! /bin/bash
> export SCRIPT_FILENAME=/home/002/r/rj/rjr052000/public_html/pmwiki/pmwiki.vphp
> exec /usr/local/bin/php
> the old pmwiki.php is at pmwiki/pmwiki.vphp
* Leave the file named as pmwiki.php
* What's the url to the pmwiki.php file (not the cgiwrapper)?
It's not that I don't think you need the cgiwrapper, it's just that
we'll need to know the url to the other pmwiki files (and I'd like
to see what happens when the .php file is accessed directly and
not through the wrapper).
> This is the only way I could find to get php scripts to run at all on
> my server. Basically I can't run php unless its through cgiwrapper.
> On 3/18/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > 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?
> > Pm
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> My life has no purpose...my life has no direction...no aim...no
> meaning... and yet I'm happy... I can't figure it out... What am I
> doing right?
> Charles Schultz
More information about the pmwiki-users