Posts Tagged ‘WHERE’

Where are Apache log files on my server – Apache log file locations on Debian / Ubuntu / CentOS / Fedora and FreeBSD ?

Tuesday, November 7th, 2017

apache-where-are-httpd-access-log-files

Where are Apache log files on my server?

1. Finding Linux / FreeBSD operating system distribtion and version

Before finding location of Apache log files it is useful to check what is the remote / local Linux operating system version, hence

First thing to do when you login to your remote Linux server is to check what kind of GNU / Linux you're dealing with:

cat /etc/issue
cat /etc/issue.net


In most GNU / Linux distributions should give you enough information about the exact Linux distribution and version remote server is running.

You will get outputs like

# cat /etc/issue
SUSE LINUX Enterprise Server 10.2 Kernel \r (\m), \l

or

# cat /etc/issue
Debian GNU/Linux 8 \n \l

If remote Linux is Fedora look for fedora-release file:

cat /etc/fedora-release Fedora release 7 (Moonshine)

The proposed freedesktop.org standard with the introduction of systemd across all Linux distributions is

/etc/os-release

 

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"


Once we know what kind of Linux distribution we're dealing with, we can proceed with looking up for standard location of Apache config:

2. Apache config file location for Fedora / CentOS / RHEL and other RPM based distributions

RHEL / Red Hat / CentOS / Fedora Linux Apache access file location
 

/var/log/httpd/access_log


3. Apache config file location for Debian / Ubuntu and other deb based Linux distributions

Debian / Ubuntu Linux Apache access log file location

/var/log/apache2/access.log


4. Apache config file location for FreeBSD

FreeBSD Apache access log file location –

/var/log/httpd-access.log


5. Finding custom Apache access log locations
 

If for some reason the system administrator on the remote server changed default path for each of distributions, you can find custom configured log files through:

a) On Debian / Ubuntu / deb distros:

debian:~# grep CustomLog /etc/apache2/apache2.conf


b) On CentOS / RHEL / Fedora Linux RPM based ones:

[root@centos:  ~]# grep CustomLog /etc/httpd/conf/httpd.conf


c) On FreeBSD OS

 

freebsd# grep CustomLog /etc/httpd/conf/httpd.conf
 # a CustomLog directive (see below).
    #CustomLog "/var/log/httpd-access.log" common
    CustomLog "/var/log/httpd-access.log" combined

How to use Skype from Web from Windows PCs where stand alone desktop client is forbidden to install and use

Saturday, November 3rd, 2012

Skype web login screen - use skype from a web page, website to use skype, skype calls from the internet

I'm studying in HAN University (University of Applied Sciences Arnhem and Nijmegen). There they use Windows Domain Controller systems, where each student can login with his university access account from a Desktop PCs located in the University Library or few other Computer Labs and so called room places (they use to call boxes – where students can use a Desktop PC). Each student account is automatically logged in the central Windows Controller. All PCs in the domain controller are installed to run Windows 7 and user logins are bundled with a bunch of most useful programs, out of this Administrator choosen and university needs programs one cannot install or Run programs.

Therefore one can't Install and Run Skype Desktop Installer without Administrator access on the Domain Controller (group) and since normal user accounts like mine did not have such I'm unable to use Skype. As I need Skype daily not only for enjoyment but also to communicate with people with whom I work, I needed to be able to run Skype on this PCs. I suspected online there should be some possibility to use Skype via some Software as A Service (SAS) application and actually there is the server is called IMO.IM ( http://www.imo.im ) . It is a website via which user can login to a multitude of messengers i.e. :

IMO, Skype, Gtalk, AIM / ICQ, Yahoo, Steam, Jabber, Hyves, Facebook, VKontakte

Before I use the service I was a bit sceptical, cause probably there are many websites out there which are SCAM sites to collect Skype usernames and passwords, thanksfully imo.im turned to not one of this 🙂

skype via web page / use web skype client imo.im - nice web skype chat and skype calls

The interface of imo.im web Skype Clientis really great and very similar and even maybe a bit better than Skype's interface itself. Besides having support for Skype chat it also supports Skype Calls and maybe even Skype Calls with Camera?
I never tested Skype Calls though, so I can't positively confirm if they work or not, but if IMO Skype Calls are probably implemented using Adobe Flash most likely Skype calls should work fine too. Of course from security stand point it is very bad idea to login in imo.im, though password is transferred to it via ( Secure SSL https ) a person determined to sniff and decrypt your SSL connection can still do it if he tries hard. Moreover that probably imo.im, stores the login username and passwords of every user inside their database "for further reference" and "anti-fraud" government policies  🙂