How can I remove cached symbolic links?

October 28, 2016 209 views
Apache Configuration Management Ubuntu

I am using a script called YOURLS to alias chat room invites into predictable URLs for users with my domain. I was able to make the script work, which involved enabling mod_rewrite and vhost changes to permit .htaccess files to do symbolic link stuff.

However, some URLs appear to be "stuck", and cannot be updated. Even when the script is completely removed and the directory is empty some of these urls will still go to a location despite the php file that's supposed to tell them where to go.. no longer existing.

I'm thinking there's some issue with them being cached by the droplet. Restarting apache or the droplet itself does not fix this. Any idea how I could force these urls out of this state?

1 Answer

Are you sure it isn't on browser? Browser could cache the URL and redirect to it even if you deleted.
Best bet is to completely remove browser cache, maybe even try incognito mode (as it doesn't read from cache/history) or even other browser.

This plugin is based on mod_rewrite. mod_rewrite should not cache anything by itself so it should not make problems. Do you use it alongside mod_cache maybe?

Have another answer? Share your knowledge.