Jump to content

Object not found


vick
 Share

Recommended Posts

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 by vick
Link to comment
Share on other sites

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

  • 2 years later...

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...