MarcC Posted December 1, 2011 Share Posted December 1, 2011 I have a site set up like 111.222.33.44/~example/pw and /pw is where Processwire lives. The front page loads fine, but I can't access /processwire or any other virtual subdirectories via rewrite (error 404). I opened .htaccess to mash my keyboard and test for an error, and I did get an error, so it seems the .htaccess file is being read. Any advice? Link to comment Share on other sites More sharing options...
apeisa Posted December 1, 2011 Share Posted December 1, 2011 I'm on mobile so sorry for short answer. There is one setting in htaccess you have to set because you have ~ in your url. It is well commented so read the htaccess file and you should find help. Link to comment Share on other sites More sharing options...
MarcC Posted December 1, 2011 Author Share Posted December 1, 2011 Ah, that was a perfect answer! Thank you. I uncommented this line: RewriteBase /~username And changed it to: RewriteBase /~example/pw/ ...and everything works now. Thanks again. Link to comment Share on other sites More sharing options...
apeisa Posted December 1, 2011 Share Posted December 1, 2011 Great! glad it is working and thanks to Ryan for comments there. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now