Software :: Setting Up Apache To View Awstats From Web Browser?
Feb 28, 2009
I just installed AWStats on a new server and can't get perl to properly work as a cgi in apache. I've done this before and got it to work, and I've tried a couple suggestions found from google with no luck. When I try to access [URL] from my browser, Apache doesn't give any errors or anything, it just outputs the perl file in plain text, which implies that it's not handling the .pl file as a perl cgi, but I just don't know why.
In a squeeze box, I installed awstats and it's working like a charm. Its cron job update the awstats database every 10 minutes (as it runs as root). But I would like to be able to update the statistics from the browser as well. So I setup everything as required and I gave "read" access to "others" to every apache log file. Now, a couple of questions came to my mind:
1. Am I compromising server's security giving "read" access to "others" to apache log files?
2. Instead of giving "read" access to "others", I could add www-data user to adm group (as apache log files are owned by root:adm and permissions are rw-r----). Is this more secure than giving "read" access to "others"? 3. If the option would be giving "read" access to "others" at the end, a log file would be owned by root:adm and its permissions be rw-r--r--. As apache rotates its log files, when Apache create a new log file, does it preserve the permissions (rw-r--r--) or create it with the default permissions (rw-r-----)?
Fedora 14 2.6.35.11-83.fc14.x86_64 I have a few webcams I want to serve to web browsers. I downloaded webcam-server, compiled and installed it. Running webcam_server with the -a (test) option, it appears to be doing something. But when I try viewing it with the included Java applet, I get a core dump from the webcam_server process and error messages from the viewing applet. I also cannot successfully view anything with a browser as described in the documentation.
[code]...
Firewall is turned off. SELinux is turned off. I am behind a departmental firewall.
I would like to open pdf files in a web browser window. I have installed mozplugger and xpdf, but it does not work , I have only blank, white screen. I installed Adobe PDF viewer, and it worked good, but I don't want to use bloated PDF viewer.
I've been having a common problem that most users get when trying to view .php files on a web browsers. I feel like I've tried everything including clearing the cache. This is the read what when typing this commands.
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
I regularly use an online imageboard website, and as such I am constantly uploading images. Being new to the linux OS, I was quite familar with Microsoft Windows file explorer and its adaption with file uploading. However, it would seem that GNOME follows a different method and uses a separate file browser to a file uploader Here is my file browser and the various options available (icon size, icon view, bigger thumbnails):
And here is what I get when I upload files to a website: My question is, is there a workaround or package available to allow changeable icon sizes/thumbnails in the file uploader? The picture preview is good, but really isn't enough for what I require
My problem was that I have a Logitech Squeezebox Boom Network Media Player. I was not able to use my browser to view the device BUT when it was connected to its internet account I was able to see it although not use it. I figured out that post 9000 which it used to communicate between the server software and the network player was blocked.
I looked into using iptables and also firewall but then I found an article explaining why an oracle program would not work with SELinux. I then had a quick look round SELinux and added a rule to the 'Network Port' list. I added port 9000 with a type of http_port_t.
In the left pane of Nautilus File Browser, I can only display directory and file names. I don't have the button at the top of the pane which allows me to select an alternate view such as Tree view.
I have several web servers, say myserver1, myserver2, and myserver3, behind a firewall that the higher-ups run. They recently changed the firewall to block all ports except for the ones they want open. I have www.myserver1.com viewable to the outside world, but www.myserver2.com is not viewable to the outside world. I was wondering if there is a way to set things up so that people could go to [URL] and view the [URL] and [URL] website content.
myserver1 is running Solaris 7, which will (hopefully) be upgraded to Ubuntu 10.04. myServer2 is running Ubuntu 8.04. myserver3 is running Windows XP. I was wonder if this is possible with any OS, not just mine.
I want to view directory content in apache server, for that i configure apache server, but i don't know how to enable autoindxing module, only apache test page is opening when i open my web site.
I'm using fedora 14. And I have installed apache, PHP and MySQL. I tried testing PHP with phpinfo(). But when I view it view my browser (localhost/test.php) it just shows the code itself instead of displaying the phpinfo page. This is the content of my test.php page.
I have created a php page with only PHP Code: <? php echo "OK"; ?> in the code. When I go to that page in a browser, I get a blank page. Is that normal, or am I suppose to see the word "OK" displayed in a browser? When I became curious, I open up Wireshark to capture the packets, I see that my server is giving out a "HTTP/1.0 500 Internal Server Error".
Here's the entire tcp stream: Code: GET /services/test.php HTTP/1.1 Host: 192.168.1.5 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 .....
I have installed Fedora 12 x86_64 and vsftpd. I would like to set up an user for FTP so that he/she could only view/edit files in one certain folder (the one that I set up). How would I go about doing that?
I am running Fedora 9 in virtual box on laptop. Want to set Fedora display size so that I will not have to scroll up or down or sideways to view screen contents. Have tried a couple of options such a resize box and change from full size but these do not help reduce size of Fedora display. Am wondering if it as something to do with the rectangular size of laptop monitor???
I am running opensuse with LAMP, and this is my first time setting up this type of server (usually am a windows junkie) My problem i am having is that I am unable to view my website from outside the local network. I have setup my router for a dynamic dns and forwarded all the ports through the router and the local firewall. I ran the apache setup through YAST2 and everything seems fine locally but when i attempt to access it elsewhere its not connecting. computechsolutions.dyndns.biz is the dynamic dns address i have setup through my router.
I have both Firefox and Chromium installed on my system. I have Firefox set as the default browser, but if, for example, I open GIMP go to Help --> About then click on "Visit the GIMP website" it opens in Chromium, not Firefox.On Maverick amd64, fresh install.
I'm trying to make it possible to see my logfiles on a browser. For instance, I want to browse to [URL] and see a listing of all my logfiles. Because the logfiles reside outside of the web content directory, I'm trying to set up an Alias. Here's how I'm doing it:
Code: Alias /logfiles /path/to/my/logfiles <Directory /path/to/my/logfiles> Order allow,deny Allow from all </Directory> Then I restart apache /etc/init.d/httpd restart
When I browse to [URL] I get a 404. I've been online all morning looking for a solution and all I find is what I've already done. BTW, this is a RHEL 5 on a LAMP stack.
I installed google-chrome and configured it as my default browser in my desktop "Preferred applications" configuration app, and in update-alternatives --config x-www-browser. I also exported the BROWSER variable to be = /opt/google/chrome/google-chrome (logged out and then logged in again). Although, If I open a XLS file with some links inside (OpenOffice 3.2.0) it opens links in firefox instead of google chrome. I surfed across all options in Tools->Options and there is nothing to set or change the default browser.
I have a machine which is currently running IceCast (a streaming audio server), which runs on port 80. I installed Apache 2 and configured it to run on port 18080 through the httpd.conf file. Restarted httpd service. I cannot get to 10.0.0.128:18080 (this is the IP of the machine). The Icecast server webpage is still accessible. No logs are generated by apache in the logs folder. Firewall is off (iptables).
after I do all new installation and before i do PHP update my browser can show me apache default page but after update PHP to 5.2.0 I can't even see the default page and always give me Problem loading page and I have 3-4 times reinstall my server which i need to do this as mail serer locally. Here are the version for my php and apache on my server currently :Apache[root@localhost local]# httpd -vServer version: Apache/2.2.14 (Unix)Server built: Oct 14 2009 13:19:18
I have to set up a proxy for my work's network. No computer except the proxy has a direct internet connection. The proxy will NOT be transparent so it authenticates with Active Directory and allows or denies pages. The squid proxy is up, and working accordingly, denying and allowing what's needed to who's needed. BUT! Thunderbird and Outlook didn't work, so in less than 10 minutes I was forced to fall back.
I read googling a lot, and searching a bit here about socks, which seems to be what I need but also that squid is already a socks proxy. Web pages were the concern, it's not needed that other stuff is authenticated, it might as well be transparent for Outlook, Thunderbird and other programs *for example, it's not needed to block a Warcraft III game, though, allowing it explicitly is not the point either* but as of now, none can connect *haven't actually tried Warcraft though, but stuff like Adobe's updater didn't work either and I recall someone mentioned Windows Live messenger didn't either* The Squid Proxy is a CentOS.
How can I configure apache2 to show the error message in the browser? Just for the purposes of debugging, I do not want to have to open the server error log every time.
I'm trying to figure out if it's possible to configure apache or any other linux http server, to allow the visiting user to start applications installed locally on the http server and get the GUI of that application displayed in a java applet (or any other similar solution). In short, I'm looking for an alternative solution to proprietary technologies such as Citrix and Microsoft Remote Access Gateway.