LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ghost site? not sure what else to call it... (https://www.linuxquestions.org/questions/linux-server-73/ghost-site-not-sure-what-else-to-call-it-628503/)

danieltoner 03-16-2008 06:55 PM

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?

danieltoner 03-16-2008 06:58 PM

This one has me so puzzled I might have to reinstall apache or even rhel and start over.

ilikejam 03-16-2008 07:19 PM

Clear your browser cache?

frndrfoe 03-16-2008 07:20 PM

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.

danieltoner 03-16-2008 07:33 PM

Quote:

Originally Posted by frndrfoe (Post 3090723)
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?

frndrfoe 03-16-2008 09:28 PM

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>



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