This site is copyright ©; 2004-2016 Steve Kemp. asked 4 years ago viewed 15412 times active 1 year ago Related 757How to set chmod for a folder and all of its subfolders and files in Linux Ubuntu Terminal?3apache and What is this syntax inside a GNU C statement expression extension? The closing and downvoting Nazis are ruining it. –Lothar May 29 at 5:24 add a comment| 1 Answer 1 active oldest votes up vote 14 down vote Directories (like /var/log/httpd) require http://lanprolab.net/apache-error/apache-error-500-619.php
linux apache-2.2 permissions logging share|improve this question asked Oct 25 '13 at 3:45 user2344668 5614 closed as off-topic by Jenny D, Hangin on in quiet desperation, MadHatter, mdpc, kce Oct 29 OK, my users' logs have permissions 0600 in a directory with 0700 permissions, all owned by the users. then start the service: #service httpd start Regards Last edited by Sayan Acharjee; 03-04-2010 at 04:29 AM. Add Comment <<< Debian, CUPS, Samba... http://stackoverflow.com/questions/9568118/apache-access-log-automatically-set-permissions
Not the answer you're looking for? How could banks with multiple branches work in a world without quick communication? Yes No Huh? 2493 votes ~ 15 comments Apache log files - per site log files Posted by simonw on Wed 30 Nov 2005 at 16:44 Tags: questions, virtual hosting
They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. How to indicate you are going straight? Yes, of course I'm an adult! Where Are Apache Error Logs Stored Why are some programming languages turing complete but lack some abilities of other languages?
Browse other questions tagged linux apache-2.2 permissions logging or ask your own question. Apache Error Logs Cpanel I guess that this applies to Apache 2.x, too. Should I use "Search" or "Findâ€ť on my buttons? http://serverfault.com/questions/515845/tell-apache-to-create-error-log-access-log-as-different-user Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
This means that piped log programs usually run as root. Linux Apache Error Log Unable to open logs here are the permissions of the VHost Directory: Code: [[email protected] /]# ls -ld /www /www/mephisto.at/ /www/mephisto.at/logs/ drwxr-xr-x. 3 root root 4096 2010-03-03 14:24 /www drwxr-xr-x. 5 apache Browse other questions tagged server permissions apache2 logs or ask your own question. Of course I could have ignored the security problem, no one would probably ever notice, especially if I chown'ed and chmod ".logs" to make it look more secure, but I like
Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the useful reference vlogger does seem to address my needs, although I need to check if it can be made to do precisely what we want. [ Parent | Reply to this comment ] Join them; it only takes a minute: Sign up Apache access log automatically set permissions up vote 6 down vote favorite 2 For some tests I'm doing, I'm required to remotely ErrorLog /home/(userslogin)/(somedir)/(vhost)-error_log CustomLog /home/(userslogin)/(somedir)/(vhost)-access_log combined If you create the 2 files before reloading apache's configuration and if your (customized) logrotation takes care of permissions and ownership you should be fine. Where Are Apache Error Logs Located
Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 123 Star 2,177 Fork 465 scotch-io/scotch-box Code Issues 37 Pull requests 1 Projects 0 How can I remove perfectly round locking wheel lugs? paulocamboim commented May 20, 2016 Mike, If you execute: $ ls -l /var/log | grep apache2 it will return: drwxr-x--- 2 root adm 4.0K Jul 10 2015 apache2 You can see http://lanprolab.net/apache-error/apache-error.php The log files in logs don't exist when the config is first setup, and this throws an error with apache when I run `service httpd restart`:Code: Select all (13)Permission denied:
Configure apache as appropriate. Apache Error Logging Level How does ArcGIS modify a TIF file while georeferencing? but i'd like to see the error and access log.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. if it works, enable one virtual host at a time until it doesn;t start. apache-2.2 file-permissions share|improve this question asked Jun 14 '13 at 13:57 BurninLeo 303418 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted This sentence: The Apache Error Log Format now the log just tells me: Quote: unable to open logs m3phisto View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by m3phisto 03-04-2010,
Are you sure you want to unaccept it? drwxr-xr-x. 6 root root 4096 Oct 20 03:24 .. My Apache error logs are here http://pastie.org/private/r8lgjkgibabucvlznecq It says "Unable to open logs, exiting". get redirected here Why?