Hi,
I want to replace apache with nginx and I want to use logs from nginx on same way like from apache for every user, to process stats, to see last visitors from cpanel, BW graphs etc...
In nginx config file for every virtual host I set log path to:
access_log /usr/local/apache/domlogs/domain.com main buffer=32k;
access_log /usr/local/apache/domlogs/domain.com-bytes_log bytes_log buffe
Hi all
I've just finished setup of a new server with CPanel.
In every user home I see the access-logs symlink which points to /usr/local/apache/domlogs/user/ but these directories are empy: the logs are in /usr/local/apache/domlogs/
How can I make the logs visible to the users?
Can nginx be used with SSL?I am using http://nginxcp.com/ for my CPanel server and here are my config file setups
server {
error_log /var/log/nginx/vhost-error_log warn;
listen 1.2.3.4:80;
server_name domina.org www.domina.org domina2.info www.domina2.info;
access_log /usr/local/apache/domlogs/domina.org-bytes_log bytes_log;
access_log /usr/local/
nging vhost file: nginx works as a reverse proxy
cat /etc/vhosts/website.info
server {
error_log /var/log/nginx/vhost-error_log warn;
listen 1.2.3.4:80;
server_name website.info www.website.info;
access_log /usr/local/apache/domlogs/website.info-bytes_log bytes_log;
access_log /usr/local/apache/domlogs/website.info combined;
root /home/
i havent been able to get any of my domains to come up ..
I am trying to install apache 2.2.22 on Solaris 10 but getting below error message when starting apache:
/etc/init.d/apache2 start
Server type is set to [HTTP]
running /opt/apache/conf/startup.pl for groups shared mem
Starting Apache HTTPD service with SSL disabled
httpd: Syntax error on line 454 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 9 of /opt/apache/conf/localserver
my spec file is:
%prep
tar zxvf $RPM_SOURCE_DIR/httpd-2.4.3.tar.gz
%build
%install
cd httpd-2.4.3
./configure -prefix=/usr/local/apache
make
make install
%preun
if [ -z "`ps aux|grep httpd | grep -v grep`" ];then
pkill httpd >/dev/null
exit 0
fi
%files
/usr/local/apache
rpmbuild -ba lx.spec
, and the RPM packet of httpd-2.4-3.x86_64.rpm is ok.
But when I installed it by
rpm -ivh h
I have a subdomain for images.example.com, and really don't need a log for it. But every month, this log file gets very large, and ends up taking up a lot of space in /usr/local/apache/domlogs/.
#vi /etc/apache2/sites-available/default
Alias /lg/favicon.ico "/usr/local/httpd/htdocs/lg/favicon.ico"
<Directory "/usr/local/httpd/htdocs/lg/favicon.ico">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
ScriptAlias /lg/ "/usr/local/httpd/htdo