[pmwiki-users] mod_rewrite question
H. Fox
haganfox at users.sourceforge.net
Wed Feb 8 12:58:06 CST 2006
On 2/8/06, rene beekman <r at raakvlak.net> wrote:
>
> On Feb 06, 2006, at 02:06, H. Fox wrote:
> > What happens when you browse
> >
> > http://computername.local/path/directly/to/your/wiki/local/
>
> ok, the path to pmwiki is:
> (and this is under mac os 10.3.9)
> /Users/<username>/Sites/pmwiki/
That's a filesystem path.
A filesystem path is a location in the filesystem.
A URL is a location you can reach with your browser.
To demonstrate, these might refer to the same file:
/var/www/pmwiki/uploads/file.ext
http://example.local/pmwiki/uploads/file.ext
> so, trying your suggestion;
> http://computername.local/Users/<username>/Sites/pmwiki/
> generates a 404
>
> anything other than;
> http://computername.local/~<username>/pmwiki
> generates a 404
Starting from fresh...
If this is the URL that reaches pmwiki.php
http://computername.local/~<username>/pmwiki/pmwiki.php
this is the URL for your local directory
http://computername.local/~<username>/pmwiki/local/
and, if .htaccess has any effect, access to that directory should be
forbidden by Apache.
> the only problem is, when i then click on that link, i get a 404
> "main/homepage not found on this server"
It seems like .htaccess is not having any effect.
Hagan
More information about the pmwiki-users
mailing list