vick Posted September 7, 2013 Share Posted September 7, 2013 (edited) Hello, I've just installed processwire. There were no errors during installation. "The requested URL was not found on this server" etc... That's what apache tells me when I try to access http://localhost/web/processwire/processwire/ (also about, templates) The main page (http://localhost/web/processwire/) works fine, and so does Wordpress, for example I can access its admin panel (http://localhost/web/wordpress/wp-admin/) My xampp installation is on the disk C:, but processwire and wordpress are in D:\Web I have an alias in httpd.conf for that <Directory "D:/Web"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory> Alias "/web" "D:/Web" ^That is appended to the end of httpd.conf. Can the alias be a problem? If yes, should I use a Virtual Host? My knowledge of apache is very limited, unfortunately... Thanks. (I should have posted that in General Support, sorry, please delete) Edited September 7, 2013 by vick Link to comment Share on other sites More sharing options...
Martijn Geerts Posted September 7, 2013 Share Posted September 7, 2013 Did you renamed the htaccess.txt to .htaccess ? Link to comment Share on other sites More sharing options...
apeisa Posted September 7, 2013 Share Posted September 7, 2013 Vick, please no double posting - it doesn't help you get answers more quickly, just annoys people. I removed the other topic you created in general support. Link to comment Share on other sites More sharing options...
vick Posted September 7, 2013 Author Share Posted September 7, 2013 Sorry about doubleposting. I thought the question was more suited for General Support and a mod would delete this thread, in Getting Started Martijn Geerts, no I didn't and there is already .htaccess file in D:\Web\processwire, but no htaccess.txt Link to comment Share on other sites More sharing options...
Martijn Geerts Posted September 7, 2013 Share Posted September 7, 2013 Does the other pages work? like the about page. If that's the case mod_rewrite would work as expected. Then maybe you've changed the URL of the admin in the installation process. Link to comment Share on other sites More sharing options...
vick Posted September 7, 2013 Author Share Posted September 7, 2013 No. About, Templates and Site Map all give me 404. Link to comment Share on other sites More sharing options...
apeisa Posted September 7, 2013 Share Posted September 7, 2013 Sorry about doubleposting. I thought the question was more suited for General Support and a mod would delete this thread, in Getting Started Martijn Geerts, no I didn't and there is already .htaccess file in D:\Web\processwire, but no htaccess.txt No worries. I think installation problems are fine on "getting started" too. Link to comment Share on other sites More sharing options...
vick Posted September 7, 2013 Author Share Posted September 7, 2013 Alright! I've configured apache to use a virtual host and it's working now. So that was my alias, that's not good for Processwire. Hmmm. Link to comment Share on other sites More sharing options...
FrancisChung Posted January 12, 2016 Share Posted January 12, 2016 Did a deployment today where I did a backup of the live environment first, but the backup script skipped copying .htaccess.Had to abort the install and redid the deployment and I started to get an error message saying "The requested URL was not found on this server". Funny enough, the home page would load perfectly though.After 15m of doing my best headless chicken impression, I realise the .htaccess file was missing. Luckily I managed to find a copy from a backup several versions back. Thought I'd share this in case people didn't fancy doing the chicken dance in the office ... Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 12, 2016 Share Posted January 12, 2016 The homepage does work because apache does simply call the index.php without arguments, whereas the .htaccess does convert urls to something like index.php?it=/path/ which is still the same file. 2 Link to comment Share on other sites More sharing options...
Mike Rockett Posted January 12, 2016 Share Posted January 12, 2016 The homepage does work because apache does simply call the index.php without arguments, whereas the .htaccess does convert urls to something like index.php?it=/path/ which is still the same file. So, assumedly, PW serves the home page if ?it=something is not specified? (Still wish that PW used index.php/something instead.) 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