[wp-hackers] Help needed with two issues on established WP install
Vogel, Andrew (vogelap)
VOGELAP at UCMAIL.UC.EDU
Mon Aug 21 17:07:07 GMT 2006
Hrm. That didn't work. Extremely perplexing and more than a little
frustrating!
Here's what I tried:
* backup WP database
* cd /var/www/html/
* mv .htaccess hta.org
* touch .htaccess
* chown .htaccess to webserver
* chmod 664 .htaccess
* pico /etc/httpd/conf/httpd.conf:
[snip]
DocumentRoot "/var/www/html"
# First, we configure the "default" to be a very restrictive set of
features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
# This should be changed to whatever you set DocumentRoot to.
<Directory "/var/www/html">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride None <------ this is the line to be changed
AcceptPathInfo On
Order allow,deny
Allow from all
</Directory>
[snip]
...to...
[snip]
DocumentRoot "/var/www/html"
# First, we configure the "default" to be a very restrictive set of
features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
# This should be changed to whatever you set DocumentRoot to.
<Directory "/var/www/html">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All <------ this is what I changed the line to
AcceptPathInfo On
Order allow,deny
Allow from all
</Directory>
[snip]
* service httpd restart
* pico /var/www/html/.htaccess -- verified that it had been written to
(it had)
* opened a webbrowser and pointed it to my page, verifying that the URL
link of an article changed from
"http://www.drewvogel.com/index.php/2006/08/18/system-strangeness/" to
"http://www.drewvogel.com/2006/08/18/system-strangeness/" (it had).
* I clicked the link and -- KABOOM! -- non-WP 404.
* I tried to roll-back -- 'mv hta.org .htaccess', re-add "/index.php" to
the permalink line, and restart the server, but it remained broken. Once
again, simply VISITING Options->Permalink is enough to 'break' it.
What does WP write when Options->Permalink is displayed? Is there some
way to compare before and after database entries to see what's getting
changed? I had to empty and restore my WP database to get it back
working.
-andrew vogel
Manager of Professional Programs
University of Cincinnati
College of Pharmacy
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of
> Jamie Holly
> Sent: Monday, August 21, 2006 12:05 PM
> To: wp-hackers at lists.automattic.com
> Subject: RE: [wp-hackers] Help needed with two issues on
> established WP install
>
>
> AllowOverride All
>
> That will fix it.
>
> Jamie Holly
> http://www.intoxination.net
>
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Handy
> Sent: Monday, August 21, 2006 12:04 PM
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] Help needed with two issues on
> established WP install
>
> I believe so, yes. Unfortunately, not at a place where it's
> easy to pop onto my server and check.
>
> On 8/21/06, Vogel, Andrew (vogelap) <VOGELAP at ucmail.uc.edu> wrote:
> >
> > You may not be "Captain Obvious"...
> >
> > <Directory />
> > Options FollowSymLinks
> > AllowOverride None
> > </Directory>
> >
> > What SHOULD it be? "All"?
> >
> > -andrew vogel
> > Manager of Professional Programs
> > University of Cincinnati
> > College of Pharmacy
> >
> >
> > > -----Original Message-----
> > > From: wp-hackers-bounces at lists.automattic.com
> > > [mailto:wp-hackers-bounces at lists.automattic.com] On
> Behalf Of Handy
> > > Sent: Monday, August 21, 2006 11:38 AM
> > > To: wp-hackers at lists.automattic.com
> > > Subject: Re: [wp-hackers] Help needed with two issues on
> established
> > > WP install
> > >
> > > On 8/21/06, Vogel, Andrew (vogelap) <VOGELAP at ucmail.uc.edu> wrote:
> > > >
> > > > <snip>
> > > >
> > > > 2. I've got my Permalinks set to Custom ("Almost Pretty") and
> > > > "/index.php/%year%/%monthnum%/%day%/%postname%/". The goal
> > > is to get
> > > > rid of the "/index.php" from my permalinks to make them
> > > "Pretty". As
> > > > long as I do not visit Options->Permalinks, my site
> > > functions as expected.
> > > > However, if I VISIT Options->Permalinks, my site's
> permalinks stop
> > > > functioning unless I set them to Default (I don't even have
> > > to click
> > > > "Update Permalinks Settings"; simply visiting the
> > > Options->Permalinks
> > > > page breaks permalinks), which breaks internal links in my
> > > site. This
> > > > is 100% reproducible. The .htaccess file is 664 and
> > > writable by the server.
> > > >
> > > > </snip>
> > > >
> > >
> > > I'm willing to be all wet here with the "Captain Obvious"
> > > post... but FC5 has AllowOverrides off by default in the apache
> > > configs. Have you specifically re-enabled it?
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list