LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-16-2008, 06:55 PM   #1
danieltoner
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Rep: Reputation: 15
ghost site? not sure what else to call it...


After changing all of my AllowOverride settings to All, wordpress crashed on me, gave me nonstop 404 errors so I deleted the .htaccess file. That didn't work, then I deleted all of wordpress and dropped the database.

Now the ONLY thing in the directory is an index.html file to tell me its working yet when I access it, it's loading up wordpress. The files aren't even there. I've checked, they're no where, I deleted them.

Any idea on this one?
 
Old 03-16-2008, 06:58 PM   #2
danieltoner
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 15
This one has me so puzzled I might have to reinstall apache or even rhel and start over.
 
Old 03-16-2008, 07:19 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Clear your browser cache?
 
Old 03-16-2008, 07:20 PM   #4
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
if it is a new version of apache..... they have turned on mod_cache by default. You can disable it with
Code:
CacheDisable /
or not load the module to start with.
 
Old 03-16-2008, 07:33 PM   #5
danieltoner
LQ Newbie
 
Registered: Mar 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by frndrfoe View Post
if it is a new version of apache..... they have turned on mod_cache by default. You can disable it with
Code:
CacheDisable /
or not load the module to start with.
Thanks

So what do you think I should do, comment out the cache mods or figure out a way to flush the cache when I need to?

If I run without the cache, will it slow things down for a busy site?
 
Old 03-16-2008, 09:28 PM   #6
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
I would use something like this in development and then just comment out the CacheDisable line when you have everything working.

Code:
<VirtualHost *:80>
    ServerName www.foo.bar
    ServerAlias foo.bar
    ServerAdmin root@foo.bar
    DocumentRoot /san/www/html
    ErrorLog /var/log/httpd/www-error_log
    CustomLog /var/log/httpd/www-access_log combined
    CacheDisable /
    <Directory "/san/www/html">
        Options FollowSymLinks +Includes
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i make centos 4.5's system call using vDSO(call *%gs:0x10) instead of int80 tclwp Red Hat 3 08-06-2007 12:07 AM
How can I script an autologin, automatically call kde(or simillar) and call an app aboaventura Slackware 8 02-03-2007 11:00 PM
Ghost software : Linux Ghost server NL-Stitch Linux - Newbie 18 02-02-2007 10:55 PM
apache2 vhost site makes default site inaccessible jyamada1 Linux - Server 4 01-17-2007 08:42 PM
What do you call your remote control? I call mine... RHLinuxGUY General 19 10-18-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration