On 05/13/2014 09:45 AM, doiggl@velocitynet.com.au wrote:
Hello,
Given the httpd2 -S output shown at [1].
Question 1. - What directory does this http url translate to on localhost 127.0.0.1
is it /srv/www/htdocs/cacti/xxxx ?
Question 2. - What does this error mean and what directory [fully qualified] would it be trying to reference. ?
# more /var/log/apache2/cacti-access_log 127.0.0.1 - - [13/May/2014:21:05:33 +1000] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0" 127.0.0.1 - - [13/May/2014:21:05:33 +1000] "GET /cacti/install/ HTTP/1.1" 404 984 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0" 127.0.0.1 - - [13/May/2014:21:05:33 +1000] "GET /favicon.ico HTTP/1.1" 404 984 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0"
Since those lines are from 'access_log" and NOT "error_log", why do you think this is an error? The report of the access requires was quite correct. Presumably yes, the default config has things under "htdocs", but there is no reason you can' define other roots. I have. You will notice that under "htdocs" there is already favicon.ico index.html robots.txt which are not only the kind of things you'd expect to see t the 'root' but also in your snippet above "favicon.ico" is there. Its reasonable based on such observations to deduce that yes, this is where things go. I've experimented putting "cacti/xxxx" there and getting a +ve response. Have you tied that? Experimentation is an important part of science :-) At this point I recommends reading some 'how to' documentation, since you seem a bit confused. There are a number of good books on setting up apache; try your local library. Of course there is an immense amount of stuff on-line for all grades of experience. With the on-line stuff its easy enough to do a step-and-repeat perusal until you find something that is at your level. I have a few friends with "RTFM" shirts. I will advise them that they need ones that are more uncompressing, that need to take in the wisdom of the 'Net. -- Plunderers of the world, after they, laying everything waste, run out of land, they probe even the sea: if their enemy has wealth, they have greed; if the enemy be poor, they are ambitious; neither East nor West has sated them; alone of mankind they covet poverty with the same passion as wealth. Robbery, butchery, rape they misname Empire: they make a wasteland and call it peace. -- Tacitus, Agricola 80 The speech of Calgacus the Caledonian at the battle of Mons Graupius -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org