|
No luck. My config file which is on public_html/local reads: $ScriptUrl = 'http://charternetwork.org/public_html/pmwiki.php'; $PubDirUrl = 'http://charternetwork.org/public_html/pub'; $EnablePathInfo = 1; $ScriptUrl = $UrlScheme.'http"//charternetwork.org'. strtolower($_SERVER['HTTP_HOST']); My .htaccess file which is on public_html reads: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f # IF the requested thing is not a file RewriteCond %{REQUEST_FILENAME} !-d # NOR a directory RewriteCond %{REQUEST_FILENAME} !-l # NOR a symbolic link # AND looks like a wiki page name, THEN send to pmwiki RewriteRule ^([A-Z0-9\x80-\xFF].*)$ /index.php?n=$1 [QSA,L] # requests for example.net / , send directly to PmWiki and exit RewriteRule ^$ /public_html/pmwiki.php [QSA,L] # requests for example.net/Something RewriteCond %{REQUEST_FILENAME} !-f # if not a file, RewriteCond %{REQUEST_FILENAME} !-d # and not a dir, RewriteCond %{REQUEST_FILENAME} !-l # and not a link, # and looks like a PmWiki request, send to PmWiki RewriteRule ^([A-Z0-9\x80-\xFF].*)$ /public_html/pmwiki.php?n=$1 [QSA,L] But not even http://charternetwork.org/public_html/pmwiki.php works now. So, on public_html, I add a index.php file that reads: <?php include("pmwiki.php"); Still no luck. So I delete index.php and .htaccess. I go can to http://charternetwork.org/public_html/pmwiki.php but my links read "http://charternetwork.org/public_html/httphttp%22//charternetwork.orgcharternetwork.org" and I can't edit. I restore config.php to: $EnablePathInfo = 0; and everything works. What did I do wrong? Thanks again. Petko Yotov wrote: On Tuesday 29 December 2009 03:16:52 Wade Hudson wrote: |
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
