simonsays Posted May 16, 2018 Share Posted May 16, 2018 Hello, I have recently finished local development with ProcessWire and moved to DEV VPS. However, DEV VPS base url has port number in it. url:port. So, when I either go to admin url:port/processwire and or any of the subpages, they are not found. Do I need to modify anything in .htaccess or Apache? Does anyone have experience with this? Link to comment Share on other sites More sharing options...
dragan Posted May 16, 2018 Share Posted May 16, 2018 take a look here: Link to comment Share on other sites More sharing options...
simonsays Posted May 16, 2018 Author Share Posted May 16, 2018 27 minutes ago, dragan said: take a look here: Seen this thread, it is irrelevant to my problem as I have already input httpHost value with port in it. It is URL being inproperly rewritten. Link to comment Share on other sites More sharing options...
dragan Posted May 16, 2018 Share Posted May 16, 2018 Maybe you need to set up something in .htaccess (my local dev server doesn't use ports, otherwise I'd try out something) 1 Link to comment Share on other sites More sharing options...
simonsays Posted May 16, 2018 Author Share Posted May 16, 2018 10 minutes ago, dragan said: Maybe you need to set up something in .htaccess (my local dev server doesn't use ports, otherwise I'd try out something) yes, that is my question ? Link to comment Share on other sites More sharing options...
BitPoet Posted May 16, 2018 Share Posted May 16, 2018 57 minutes ago, simonsays said: yes, that is my question Running PW on non-standard ports shouldn't be an issue. Did you develop in a subdirectory? If yes, there might be a leftover RewriteBase entry in .htaccess interfering with URL rewrites. 1 Link to comment Share on other sites More sharing options...
simonsays Posted May 17, 2018 Author Share Posted May 17, 2018 14 hours ago, BitPoet said: Running PW on non-standard ports shouldn't be an issue. Did you develop in a subdirectory? If yes, there might be a leftover RewriteBase entry in .htaccess interfering with URL rewrites. So, what you are saying, is PW's .htaccess should work out of the box? I did not change anything in .htaccess. I assume, the problem is somewhere in apache vhost, where I do not have admin access. Link to comment Share on other sites More sharing options...
BitPoet Posted May 17, 2018 Share Posted May 17, 2018 36 minutes ago, simonsays said: I did not change anything in .htaccess. I assume, the problem is somewhere in apache vhost, where I do not have admin access. In that case, you should probably check with your hoster whether .htaccess can be used and mod_rewrite is available at all. 1 Link to comment Share on other sites More sharing options...
simonsays Posted May 17, 2018 Author Share Posted May 17, 2018 26 minutes ago, BitPoet said: In that case, you should probably check with your hoster whether .htaccess can be used and mod_rewrite is available at all. The problem was actually with apache virtual host (the <Directory> was not specified). Thanks for your patience and cooperation! ? 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