Sameer Kumar wrote: > Any ideas, anybody?? > Here's my .htaccess file for a site I just set up.
RewriteEngine On RewriteRule ^poetofgod[/]*$ /godspurplegirl/pmwiki/pmwiki.php [QSA,L] RewriteRule ^poetofgod/([^/a-z].*) godspurplegirl/pmwiki/pmwiki.php?n=$1 [QSA,L] RewriteRule ^poetofgod/uP/([^/a-z].*) /godspurplegirl/pmwiki/uP/$1 [QSA,L] In this case I wanted my http://mysite.com/godspurplegirl/pmwiki/... etc to be used as: http://mysite.com/poetofgod/... My upload dir is uP instead of the norm. My config.php contains: $ScriptUrl = 'http://www.mysite.com/poetofgod'; $PubDirUrl = 'http://www.mysite.com/godspurplegirl/pmwiki/pub'; And I have EnablePathInfo set: $EnablePathInfo = 1; Upload info set as follows: $UploadDir = 'uP'; $UploadUrlFmt='http://mysite.com/poetofgod/uP'; Hope this helps a bit... EVERY site is different, every provider is different... so this may not be complete or even applicable. _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
