[opensuse] 13.1, awstats doesn't display icons
13.1 server, photo albums and mail and a few files awstats-7.3-1.2.noarch from network utilities installed, setup/configured works, shows stats but icons are not displayed /etc/awstats/awstats.wahoo.no-ip.org.conf # Relative or absolute web URL of your awstats icon directory. # If you build static reports ("... -output > outputpath/output.html"), # enter # path of icon directory relative to the output directory 'outputpath'. # Example: "/awstatsicons" # Example: "../icon" # Default: "/icon" (means you must copy icon directories in # "/mywwwroot/icon") # DirIcons="/awstats/icon" /wwwroot/ = /srv/www So I have /srv/www/awstats/icon But icons are not displayed on the web page, http://my.host/cgi-bin/awstats.pl Many conflicting suggestions on google solve nothing for me. Dense :) Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed. What to do? tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/04/2015 06:10 PM, Patrick Shanahan wrote:
13.1 server, photo albums and mail and a few files awstats-7.3-1.2.noarch from network utilities
installed, setup/configured works, shows stats but icons are not displayed
/etc/awstats/awstats.wahoo.no-ip.org.conf
# Relative or absolute web URL of your awstats icon directory. # If you build static reports ("... -output > outputpath/output.html"), # enter # path of icon directory relative to the output directory 'outputpath'. # Example: "/awstatsicons" # Example: "../icon" # Default: "/icon" (means you must copy icon directories in # "/mywwwroot/icon") # DirIcons="/awstats/icon"
/wwwroot/ = /srv/www
So I have /srv/www/awstats/icon
But icons are not displayed on the web page, http://my.host/cgi-bin/awstats.pl
Many conflicting suggestions on google solve nothing for me. Dense :)
Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed.
What to do? tks, what do the web server logs say? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Bruce Ferrell
On 07/04/2015 06:10 PM, Patrick Shanahan wrote:
13.1 server, photo albums and mail and a few files awstats-7.3-1.2.noarch from network utilities
installed, setup/configured works, shows stats but icons are not displayed
/etc/awstats/awstats.wahoo.no-ip.org.conf
# Relative or absolute web URL of your awstats icon directory. # If you build static reports ("... -output > outputpath/output.html"), # enter # path of icon directory relative to the output directory 'outputpath'. # Example: "/awstatsicons" # Example: "../icon" # Default: "/icon" (means you must copy icon directories in # "/mywwwroot/icon") # DirIcons="/awstats/icon"
/wwwroot/ = /srv/www
So I have /srv/www/awstats/icon
But icons are not displayed on the web page, http://my.host/cgi-bin/awstats.pl
Many conflicting suggestions on google solve nothing for me. Dense :)
Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed.
What to do? tks, what do the web server logs say?
representative line: 192.168.1.254 - - [05/Jul/2015:00:04:25 -0400] "GET /awstats/icon/mime/text.png HTTP/1.1" 404 1185 /"http://wahoo.no-ip.org/cgi-bin/awstats.pl?framename=mainright" /"Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0" but they are there ??? ls -la /srv/www/awstats/icon/mime/text.png -rw-r--r-- 1 root root 342 Jun 11 14:47 /srv/www/awstats/icon/mime/text.png tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/04/2015 11:12 PM, Patrick Shanahan wrote:
representative line: 192.168.1.254 - - [05/Jul/2015:00:04:25 -0400] "GET /awstats/icon/mime/text.png HTTP/1.1" 404 1185 /"http://wahoo.no-ip.org/cgi-bin/awstats.pl?framename=mainright" /"Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
but they are there ???
ls -la /srv/www/awstats/icon/mime/text.png -rw-r--r-- 1 root root 342 Jun 11 14:47 /srv/www/awstats/icon/mime/text.png
tks,
Sorry for joining late. I don't know what type app awstats is, but if it is php, check the error log for any messages related to `include_path` (default/cli: ".:/usr/share/php5:/usr/share/php5/PEAR"_ or openbase_dir (default is unset which won't cause problems). Either can limit where webapps can draw resources from. (include_path the most likely issue) If it's not a php app - disregard and good luck. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* David C. Rankin
On 07/04/2015 11:12 PM, Patrick Shanahan wrote:
representative line: 192.168.1.254 - - [05/Jul/2015:00:04:25 -0400] "GET /awstats/icon/mime/text.png HTTP/1.1" 404 1185 /"http://wahoo.no-ip.org/cgi-bin/awstats.pl?framename=mainright" /"Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"
but they are there ???
ls -la /srv/www/awstats/icon/mime/text.png -rw-r--r-- 1 root root 342 Jun 11 14:47 /srv/www/awstats/icon/mime/text.png
tks,
Sorry for joining late. I don't know what type app awstats is, but if it is php, check the error log for any messages related to `include_path` (default/cli: ".:/usr/share/php5:/usr/share/php5/PEAR"_ or openbase_dir (default is unset which won't cause problems). Either can limit where webapps can draw resources from. (include_path the most likely issue)
If it's not a php app - disregard and good luck.
http://wahoo.no-ip.org/cgi-bin/awstats.pl -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/05/2015 07:23 AM, Patrick Shanahan wrote:
If it's not a php app - disregard and good luck. http://wahoo.no-ip.org/cgi-bin/awstats.pl
I like the app. You now have another log entry :p The only thing that is remarkable is that it uses a perl backend. Odd choice for speed/efficiency. It is by far the most robust log analyzer I've looked at. And to think, all I've been running for the past 10 years is a cheezy handmade php script that dumps "Date IP User_Agent Request_URI Page Referrer" to a mysql table. I may have to give that a try. Thanks. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Patrick Shanahan
13.1 server, photo albums and mail and a few files awstats-7.3-1.2.noarch from network utilities
installed, setup/configured works, shows stats but icons are not displayed
/etc/awstats/awstats.wahoo.no-ip.org.conf
# Relative or absolute web URL of your awstats icon directory. # If you build static reports ("... -output > outputpath/output.html"), # enter # path of icon directory relative to the output directory 'outputpath'. # Example: "/awstatsicons" # Example: "../icon" # Default: "/icon" (means you must copy icon directories in # "/mywwwroot/icon") # DirIcons="/awstats/icon"
/wwwroot/ = /srv/www
So I have /srv/www/awstats/icon
But icons are not displayed on the web page, http://my.host/cgi-bin/awstats.pl
Many conflicting suggestions on google solve nothing for me. Dense :)
Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed.
SOLUTION: /mywwwroot/ is not /srv/www/ but is /srv/www/htdocs/ awstats icons now appear correctly. POINT: Why doesn't a package from openSUSE not contain settings applicable to the default openSUSE apache2 as set by yast? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/05/2015 08:38 PM, Patrick Shanahan wrote:
* Patrick Shanahan
[07-04-15 21:10]: 13.1 server, photo albums and mail and a few files awstats-7.3-1.2.noarch from network utilities
installed, setup/configured works, shows stats but icons are not displayed
/etc/awstats/awstats.wahoo.no-ip.org.conf
# Relative or absolute web URL of your awstats icon directory. # If you build static reports ("... -output > outputpath/output.html"), # enter # path of icon directory relative to the output directory 'outputpath'. # Example: "/awstatsicons" # Example: "../icon" # Default: "/icon" (means you must copy icon directories in # "/mywwwroot/icon") # DirIcons="/awstats/icon"
/wwwroot/ = /srv/www
So I have /srv/www/awstats/icon
But icons are not displayed on the web page, http://my.host/cgi-bin/awstats.pl
Many conflicting suggestions on google solve nothing for me. Dense :)
Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed. SOLUTION: /mywwwroot/ is not /srv/www/ but is /srv/www/htdocs/ awstats icons now appear correctly.
POINT: Why doesn't a package from openSUSE not contain settings applicable to the default openSUSE apache2 as set by yast?
file a bug on the package -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Bruce Ferrell
Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed. SOLUTION: /mywwwroot/ is not /srv/www/ but is /srv/www/htdocs/ awstats icons now appear correctly.
POINT: Why doesn't a package from openSUSE not contain settings applicable to the default openSUSE apache2 as set by yast?
file a bug on the package
Bugzilla – Bug 937393 https://bugzilla.opensuse.org/show_bug.cgi?id=937393 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 08.07.2015 um 15:43 schrieb Patrick Shanahan:
* Bruce Ferrell
[07-06-15 00:32]: [...] Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed. SOLUTION: /mywwwroot/ is not /srv/www/ but is /srv/www/htdocs/ awstats icons now appear correctly.
POINT: Why doesn't a package from openSUSE not contain settings applicable to the default openSUSE apache2 as set by yast?
file a bug on the package
Bugzilla – Bug 937393 https://bugzilla.opensuse.org/show_bug.cgi?id=937393
How did you include awstats? Did you activate AWSTATS in APACHE_SERVER_FLAGS in file /etc/sysconfig/apache2? This is the suggested way and should work. If you need AWSTATS in only one virtual directory, you should copy over the config from /etc/apache2/conf.d/awstats.conf in the defined VHOST. Both ways should work out of the box. Those things are not documented - Maybe some documentation should be added to the package. Best regards, Johannes -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Johannes Weberhofer
Am 08.07.2015 um 15:43 schrieb Patrick Shanahan:
* Bruce Ferrell
[07-06-15 00:32]: [...] Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed. SOLUTION: /mywwwroot/ is not /srv/www/ but is /srv/www/htdocs/ awstats icons now appear correctly.
POINT: Why doesn't a package from openSUSE not contain settings applicable to the default openSUSE apache2 as set by yast?
file a bug on the package
Bugzilla – Bug 937393 https://bugzilla.opensuse.org/show_bug.cgi?id=937393
How did you include awstats? Did you activate AWSTATS in APACHE_SERVER_FLAGS in file /etc/sysconfig/apache2?
Yes.
This is the suggested way and should work. If you need AWSTATS in only one virtual directory, you should copy over the config from /etc/apache2/conf.d/awstats.conf in the defined VHOST. Both ways should work out of the box.
I installed from the rpm (zypper), copied /etc/awstats/awstats.web.conf to /etc/awstats/awstats.wahoo.no-ip.org.conf, edited conf to suit and copied the icon directory to /wwwroot/ as *indicated* by the conf file. There is no instruction, README or install file included.
Those things are not documented - Maybe some documentation should be added to the package.
Definitely, also that /wwwroot/ is *not* /srv/www/ but /srv/www/htdocs/. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 09.07.2015 um 14:11 schrieb Patrick Shanahan:
* Johannes Weberhofer
[07-09-15 06:30]: Am 08.07.2015 um 15:43 schrieb Patrick Shanahan:
* Bruce Ferrell
[07-06-15 00:32]: [...] Changing "DirIcons="/icon" and moving /srv/www/awstats/icon to /srv/ww/icon restarting apache2 still no icons displayed. SOLUTION: /mywwwroot/ is not /srv/www/ but is /srv/www/htdocs/ awstats icons now appear correctly.
POINT: Why doesn't a package from openSUSE not contain settings applicable to the default openSUSE apache2 as set by yast?
file a bug on the package
Bugzilla – Bug 937393 https://bugzilla.opensuse.org/show_bug.cgi?id=937393
How did you include awstats? Did you activate AWSTATS in APACHE_SERVER_FLAGS in file /etc/sysconfig/apache2?
Yes.
This is the suggested way and should work. If you need AWSTATS in only one virtual directory, you should copy over the config from /etc/apache2/conf.d/awstats.conf in the defined VHOST. Both ways should work out of the box.
I installed from the rpm (zypper), copied /etc/awstats/awstats.web.conf to /etc/awstats/awstats.wahoo.no-ip.org.conf, edited conf to suit and copied the icon directory to /wwwroot/ as *indicated* by the conf file. There is no instruction, README or install file included.
There is no need to copy that files as the configuration Alias /awstats/icon/ "/usr/share/awstats/icon/" creates an alias and maps the location into your server. Did you remove this line from config?
Those things are not documented - Maybe some documentation should be added to the package.
Definitely, also that /wwwroot/ is *not* /srv/www/ but /srv/www/htdocs/.
-- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Johannes Weberhofer
Am 09.07.2015 um 14:11 schrieb Patrick Shanahan:
* Johannes Weberhofer
[07-09-15 06:30]: Am 08.07.2015 um 15:43 schrieb Patrick Shanahan:
* Bruce Ferrell
[07-06-15 00:32]: [...] >Changing "DirIcons="/icon" >and moving /srv/www/awstats/icon to /srv/ww/icon >restarting apache2 >still no icons displayed. SOLUTION: /mywwwroot/ is not /srv/www/ but is /srv/www/htdocs/ awstats icons now appear correctly.
POINT: Why doesn't a package from openSUSE not contain settings applicable to the default openSUSE apache2 as set by yast?
file a bug on the package
Bugzilla – Bug 937393 https://bugzilla.opensuse.org/show_bug.cgi?id=937393
How did you include awstats? Did you activate AWSTATS in APACHE_SERVER_FLAGS in file /etc/sysconfig/apache2?
Yes.
This is the suggested way and should work. If you need AWSTATS in only one virtual directory, you should copy over the config from /etc/apache2/conf.d/awstats.conf in the defined VHOST. Both ways should work out of the box.
I installed from the rpm (zypper), copied /etc/awstats/awstats.web.conf to /etc/awstats/awstats.wahoo.no-ip.org.conf, edited conf to suit and copied the icon directory to /wwwroot/ as *indicated* by the conf file. There is no instruction, README or install file included.
There is no need to copy that files as the configuration
Alias /awstats/icon/ "/usr/share/awstats/icon/"
creates an alias and maps the location into your server. Did you remove this line from config?
No, I did not, but the icons were definitely not displayed. And yes I see the line you indicate ??? /etc/apache2/conf.d/awstats.conf: Alias /awstats/icon/ "/usr/share/awstats/icon/" -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Bruce Ferrell
-
David C. Rankin
-
Johannes Weberhofer
-
Patrick Shanahan