General :: Possible To See Log Files On Browser - Setting Up Aliases?
Jul 22, 2011
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.
View 6 Replies
ADVERTISEMENT
Apr 1, 2009
I am able to send a mail message to myself from a server without any problem...
But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....
Added:
root: myemail@company.com
and ran newaliases to implement it....
If I send a mail message to root, it does not get routed to my email...
View 3 Replies
View Related
Mar 18, 2011
I am very new to Linux and everything I read says the android OS is based on Linux. That said I am evaluating 2 Android tablets. The Samsung Galaxy and the Motorola Xoom. I am trying to execute wmv files in a web browser, the wmv files download as .wvx rather than play. I have installed flash but the problem continues.
View 1 Replies
View Related
May 26, 2011
I had set two 700MB links for download in firefox 3.6.3 by browser itself. Both of them hung at 84%.I trust wget so much.Here the problem is : when we click on download button in firefox then it says save file & when download has begun then i can right click in downloads window & select copy download link to find that link was Kum.DvDRip.aviif i knew that earlier like in case of hotfile server there is no script associated with download button just it points to avi URL so I can copy it easily. read 'wget --load-cookies cookies_file -i URL -o log'I have free account (NOT premium) on sharing server so all I get is html page .
View 4 Replies
View Related
Sep 22, 2010
Not sure if this was the right place to post this. Recently installed Ubuntu Netbook remix on my netbook. On Windows I used IIS and pointed my website to a directory full of video files all in .avi containers, enabled directory browsing and could watch files in the browser on my PS3.
I'm wondering how I go about doing this in Apache? Since there isn't any GUI to do it for me like in IIS :P.
View 11 Replies
View Related
Mar 12, 2011
I've an network architecture where for the user to reach the machine that it want, it has to pass through a frontend machine.
Code:
User ---> Frontend ----> Machine1
The connections between all hosts uses ssh. If I want to reach the Machine1, I've to authenticate to the Frontend and authenticate again to the Machine1. The Machine1 and the Frontend doesn't have X installed - only console mode.
The Machine1 has the file in my HOME directory called: hello.html that contains flash embedded. I would like to view the hello.html in my browser located at the User machine.
Is there a way to access remotely to the html file, without have to copy the file to my local machine?
View 1 Replies
View Related
Oct 21, 2010
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.
View 3 Replies
View Related
Sep 13, 2010
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.
View 2 Replies
View Related
Jul 23, 2011
Anybody know the names for the config for trying to set the default browser in Fedora KDE (from Konqueror to Opera ) ...
Code:
update-alternatives --config (name)
this may be for debian distros only ?
[URL]
i.e what are the group names ?
View 6 Replies
View Related
Aug 5, 2010
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.
View 1 Replies
View Related
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.
Code:
<VirtualHost *:80>
DocumentRoot /webs/mysite.com/wwwroot
ServerName mysite.com
ServerAlias www.mysite.com
[code]....
View 12 Replies
View Related
Aug 25, 2010
Quick ACL question: I want to set up default permissions for a file share so that everyone can rwx all of the directories and so that all newly created files are rw. Everyone who is accessing this share is in the same group, so this isn't a concern. I have looked at doing this via ACLs without changing all of the users' umasks and such. Here are my current invocations:
setfacl -Rdm g:mygroup:rwx share_name
setfacl -Rm g:mygroup:rwx share_name
My problem is that while I want all of the newly created sub-directories to be rwx, I only want newly created files to be rw. Does anyone have a better method to achieve my desired end-result? Is there some way to set ACLs on directories separately from files, in a similar vein to "chmod +x" vs. "chmod +X"?
View 2 Replies
View Related
Aug 5, 2011
Below are few of my questions that i am worried about.
1. alias command will list me all aliases. How to find where these aliases are located?
2. Please suggest me few resources on XWindows
View 5 Replies
View Related
Apr 5, 2011
I want to tweak my linux environment so that when I type a text file name on the command line and hit enter the file should be opened in Vim.
$: /tmp/file.txt
should open the file in Vim. This is similar to what happens on windows (where a text file is opened in notepad.)
View 6 Replies
View Related
Jul 8, 2011
I just noticed that my .bashrc aliases (eg. alias www='cd ~/data/public_html') don't work from within tmux. They work fine from screen, though.
I don't think I've got anything special in ~/tmux.conf
Code:
# C-a just like in screen
unbind C-b
set -g prefix C-a
[Code].....
View 3 Replies
View Related
Jul 19, 2010
I would like to set both user and group permissions permanently to be 'rwx' (read-write-execute). I would like these rwx settings for all the future files and folders.
I tried umask 002, chmod etc, but they don't set it for future files.
View 3 Replies
View Related
Jul 1, 2009
When in command mode one can come out of the file temporarily by Code: :sh in command mode. When I find myself on the shell on RH 9 the aliases dont work but in RHEL 4 all aliases work like charm. Does anyone know why is it so?
View 4 Replies
View Related
May 7, 2010
I can make aliases fine by editing the .bashrc file in my home directory, but the first thing I do when I open a terminal window is sudo su so I don't have to type sudo in front of every command. The problem is, I am then not able to use my aliases. How can I make aliases that work after I run the sudo su command?
View 2 Replies
View Related
Jul 5, 2010
I have an email alias and I want to capture some items in the email body and put it in a database.
I'm using Linux and Bash.
In /etc/aliases I have:
bexpense: "|/usr/bin/bexpense"In /usr/bin/bexpense, I have:
#!/bin/bash
echo $1 $2 >> bexpense.out
If I just run /usr/bin/bexpense with as "bexpense test test" I get "test test" in bexpense.out. If I send email to bexpense@myserver.com, I get a blank line in bexpense.out. How do I get the subject and body of the email?
View 2 Replies
View Related
Apr 29, 2011
For example if you want to create an alias in Linux with a message echoed into the variable would the following command be; alias hello="(echo)"Hello." "? I'm trying to learn some environment variables and aliases.
View 4 Replies
View Related
May 14, 2010
Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?
View 1 Replies
View Related
Aug 4, 2011
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.
View 2 Replies
View Related
Jan 11, 2011
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.
[Code]....
View 7 Replies
View Related
Jan 14, 2011
In Ubuntu 10.04, installed Chrome from the Ubuntu repos: chromium-browser 8.0.552.224-r6859According to about:plugins mozplugger is supposed to be handling pdf, ps, ppt mime types, but for all of these I get a black browser window saying "Missing Plug-in".I'd like to view these filetypes inside the browser using either adobe reader (8.1.6) or evince (or even just gv).Here is an excerpt from /etc/mozpluggerrc:
Code:
application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
[code]....
View 5 Replies
View Related
May 4, 2010
I have a ubuntu server , can advise if I want to change the network setting ( eg. IP address , gateway address etc ) , which one is the configuration file ? for example , if I want to change eth0 setting , what file I should update ?
View 10 Replies
View Related
Sep 7, 2009
I need to view Tiff files with Mozilla browser, does anybody know how and where I can get plug-in for Mozilla? I am running F10 with my laptop
View 2 Replies
View Related
Mar 1, 2011
I am currently new to all of this and not even sure if I am in the right place.But I am currently running a server with OpenSSH.When you go to my site's homepage, I have a link that redirects you to my files that I will be sharing.They are currently access denied as I do not want the public to be able to download.My question is how would I go about having a login box to pop up when they clink on the link on my homepage to access the files folder.Currently I have accounts set up and it works when going through Filezilla with SFTP but I'm not sure how to give access to use via a web browser
View 1 Replies
View Related
May 5, 2011
I used about all available OS 's. In all systems I used a quick acces system like the file browser applet in Ubuntu. In fact I "cannot live without", specially if I am working on jobs and I have to work with a lot of files in different directories. Opening lots of folders and endless clicking is really not an option to me. Does anyone know if there is such an applet or possibility in Unity (because gnome 2 applets will not work in Natty)?
View 5 Replies
View Related
Oct 22, 2010
I'm playing with apache (and to be quite honest have no idea what I'm doing at this stage!) and currently have a large number of files and folders on the sad little site. One thing that is really bothering me is that files and folders both appear the same. I'm not looking for anything fancy. Something like this is more than adequate. Right now there is simply a dot next to each item.
View 2 Replies
View Related
Oct 7, 2010
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
View 9 Replies
View Related