Dumb Apache/LAMP question
Bob Jonkman
bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org
Sun Feb 9 05:37:32 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When that's happened to me it's always been a bad or missing .htaccess
file in the base WordPress folder. This is what's in one of my
typical installations
===== .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
=== end of .htaccess
Be sure it's owned by the process that runs the webserver
("www-data:www-data" in my case), and that it's owner-writeable.
- --Bob.
On 14-02-08 11:45 PM, Evan Leibovitch wrote:
> I'm having a total brain fart right now with a site.
>
> It's running Wordpress. Pages that explicitly end in .php are found
> and run fine, anything else (which is most of the CMS content) is
> just giving a file-not-found 404.
>
> so
>
> http://foo.bar/[whatever_path]/foo.php works fine, but
> gttp://foo.bar/[whatever_path}/ gives a 404 file not found, even if
> the path is correct inside the CMS (I know it's inside the CMS
> because the .php files on the admin side work fine.
>
> What's missing? What is done to make the content fetched from the
> CMS rather than the Apache filesystem?
>
> Any help is appreciated.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Ensure confidentiality, authenticity, non-repudiability
iEYEARECAAYFAlL3FBsACgkQuRKJsNLM5epxFQCfQwgnMrg+tvqXa0tYpN3Ns504
l2IAoOTJLmr/cVJOWffnfB3g4fuGqEdV
=ygOV
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list