Hi,
I'm having rewrite problems that I can't seem to nail down. I checked the forums here and can't find anything that seems to answer my problem.
Here's my setup: I'm on a virtual hosted enviroment with apache, Anteater version of dokuwiki, my data directory is moved out of my web root and I'm using the arctic template. When I installed dokuwiki I named the /dokuwiki folder /site. My web root is in htdocs. I created a namespace called "pages" where all my pages are except the main page and sidebar page. I don't have any plugins installed but the arctic template has the sidebar.
With rewriting turned off I can go to
http://www.mysite.com/site/ and see all my pages and links, everything works great. If I just go to
http://www.mysite.com/ I see the "under construction" page in my web root. Now all I have to do is turn on rewriting. In the configuration I have the basedir as /site/, the urlbase as
http://www.mysite.com the data directory as ../../data and rewriting set to .htaccess.
There is a htaccess file in my web root as well as the one that comes with dokuwiki in my /site folder where doku.php is. I copied and pasted the rewrite rules into the htaccess file in my document root. I set the rewrite base to /site uncomment the rules and symbolic liinks. If I go to
http://www.mysite.com/ I get the main page and side bar , so rewriting is working, but none of the other pages work. I get a "this topic does not exist yet". If I login and go to the config page and navigate around, the backlinks start looking like this "site_site_site_site_site_site_site". So I re-comment the rules and rewriting and go to the other htaccess in the /site folder where doku.php is uncomment the rules and rewriting, symbolic links, set the rewrite base to /site. When I go to
http://www.mysite.com/ I get my "under construction" page. If I go to
http://www.mysite.com/site I get my main page and side bar and all my other pages now work and I have pretty URL's.
So I've tried just about every combination of rewrite base I can think of as well as leaving it commented, different basedir settings in the config. uncomment and recomment the symbolic links line and I can't seem to get it to work right.
Any help or suggestions would be greatly appreciated.