Jump to content

404 not found except home page


alxndre
 Share

Recommended Posts

I've got a new install of processwire. Installation went fine. But then something strange happened, only the home page displays fine. Everything else does not load and throws a 404 exception, even the admin page /processwire/ does not show up.

What could be causing this?

Thanks.

Link to comment
Share on other sites

  • 2 years later...

Hello,

I upload a PW site to my local server (Raspberry Pi).

When i type:

http://192.168.0.198/springbeestjes/

The home-page showing fine, but the other subpages gives a 404 error.

I searching the whole forum, but no solution  :undecided:

Adding random stuff "krbnvhghht" in the top of the .htaccess file

Manipulating (uncomment):

RewriteBase /springbeestjes/

or

RewriteBase /192.168.0.198/

or

RewriteBase /

or

...

edit the apache2.conf file and adding:

...

#

# AccessFileName: The name of the file to look for in each directory

# for additional configuration directives.  See also the AllowOverride

# directive.

#

AccessFileName .htaccess

AllowOverride All

...

This gives an error when restart apache (not in the browser!)

I adding several sites in subdirs on my local server without problems.

/var/www/site1/

/var/www/site2/

....

Then i type in the browser:

http://192.168.0.198/site1/

http://192.168.0.198/site2/

...

The PW-site don't show the sub-pages

http://192.168.0.198/springbeestjes/login

I'm seeing in phpinfo that mod_rewrite not loaded, then manually loading mod_rewrite and edit again apache2.conf, without success  :'( 

I made a screenshot from phpinfo.

Maybe this helps to find a solution.

All help is welcome  :undecided:

Regards,

Christophe

Link to comment
Share on other sites

Continued...

I find this usefull site:

http://blog.4digits.net/getting-started-with-processwire/

Here you see the error when I restart apache:

post-3100-0-27572600-1426077450_thumb.pn

For testing I installed a clean PW profile.

When i follow the steps on this site , it gives the same errors.

Maybe a stupid question: how can I give permissions on a file that only existing at the end of the installation process:

chmod 666 site/config.php

Christophe

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...