[pmwiki-users] wrapper script
Hans
design5 at softflow.co.uk
Mon Dec 18 11:31:02 CST 2006
Monday, December 18, 2006, 5:14:11 PM, marc wrote:
> Kevin said...
>> Another basic question:
>>
>> The documentation recommends adding a "wrapper script" with the
>> following script:
>>
>> <?php include('pmwiki.php');
>>
>>
>> I am a novice programmer and have no idea where to put this text. Does
>> it go into the config file? HTaccess? Or do I create a new file for
>> this?
> Create a new file with just that one line.
To be a bit more specific:
The recommended "wrapper" script should be called index.php and live
in the pmwiki directory, aside pmwiki.php.
The purpose is to load pmwiki.php, if a browser asks for the directory
url.
I.e http://example.com/pmwiki/ will get pmwiki running, and you should
get the default page. With no index.php http://example.com/pmwiki/ may
show the file content of the pmwiki directory, or return with an
"access forbidden" error.
Hans
More information about the pmwiki-users
mailing list