iwato Posted June 9, 2017 Share Posted June 9, 2017 (edited) BACKGROUND: I have recently discovered a file on my test server that opens to the wrong file. Not only does this same phenomenon appear in different browsers, but clearing the browsers' cache and rebooting the computer does not help. It has been suggested by two of my colleagues that the problem lies with the Apache cache. Although I have discovered something called htcacheclean on the Apache website, nowhere have I been able to find instructions about how to implement this instruction properly. i want simply to clean one URL from the cache, but am baffled about how to implement what I have already learned. QUESTION ONE: Is it not possible to run htcacheclean from the UNIX terminal? QUESTION ONE: Whether it is possible or not, how does one go about doing it? Source: htcacheclean Edited June 9, 2017 by iwato Link to comment Share on other sites More sharing options...
justsomeguy Posted June 9, 2017 Share Posted June 9, 2017 That page describes it as a program you can run manually via the terminal, or as a daemon. The page lists all of the options you can use when you run it. Link to comment Share on other sites More sharing options...
iwato Posted June 10, 2017 Author Share Posted June 10, 2017 I know well what the page says. What I do not know is how to implement it. There are no sample commands, and what I have tried does not work. $ sudo htcacheclean //Any option written after this fails. $ sudo apachectl htcacheclean //Any option write after this fails. What I obtain from these trials is simply a list of htcacheclean options. The list is similar, but not the same as what are provided in the Apache source document. Still, no sample code. Roddy Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2017 Share Posted June 12, 2017 You're saying that when you try to run it, it will print a list of usable options? Link to comment Share on other sites More sharing options...
iwato Posted June 12, 2017 Author Share Posted June 12, 2017 Yes. In other words, it is telling me that it is there, but that I am not employing it properly. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 12, 2017 Share Posted June 12, 2017 Well, then in that case the documentation doesn't matter and whatever the program is telling you is the final word. Maybe it's a different version than what the online documentation describes. Link to comment Share on other sites More sharing options...
iwato Posted June 13, 2017 Author Share Posted June 13, 2017 Not really. In both cases it is documentation. Although it may be more likely that documentation included with the code is more current than documentation that is external to the code, either could be neglected with regard to an update of the code. Still, there is no sample code, and the implementation of htcacheclear on the UNIX terminal is unclear. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 13, 2017 Share Posted June 13, 2017 There's no code involved, this is just a program you run. The options that are available when running it should be given in the help for the program. Link to comment Share on other sites More sharing options...
iwato Posted June 19, 2017 Author Share Posted June 19, 2017 This is what I thought too, but it does not appear to run. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now