When I want use phpAutogallery under a users-web-directory (those URLs witch have a ~user in it), I get problems with rewrite via .htaccess. It seems to expand the ~user into the real path of the users-webdirectory something like /home/user/public_html which then appears multiple times appended.
Hello,
When I want use phpAutogallery under a users-web-directory (those URLs witch have a ~user in it), I get problems with rewrite via .htaccess. It seems to expand the ~user into the real path of the users-webdirectory something like /home/user/public_html which then appears multiple times appended.
I used the following in .htaccess:
RewriteEngine on
RewriteCond %{REQUEST_URI} !.*__phpAutoGallery/wrapper\.php.*
RewriteRule .* /~werner/gallery/__phpAutoGallery/wrapper.php [NE,QSA,L]
And I got the following as answer from the script:Page: //home/werner/public_html/gallery//~werner/gallery/ not found!
Maybe there is a trivial solution, but that should be included in the documentation.
Cheers,
David