30 reputation
13
bio website
location
age
visits member for 3 years, 6 months
seen May 6 '11 at 15:32

Feb
5
awarded  Notable Question
Jul
11
awarded  Popular Question
May
7
awarded  Student
May
6
asked Is it possible to create Custom Error Log in Apache 2?
May
6
comment Using vhost_alias, can I set logs location to the current vhost?
Yep I succeeded using php://stdin thank you
May
6
accepted Using vhost_alias, can I set logs location to the current vhost?
May
6
comment Using vhost_alias, can I set logs location to the current vhost?
Hi, thank you for the example, it's working, however I need to find a way to get that line in my php script, I tried both special variable $argv & STDIN but not result, thank you !
May
6
comment Using vhost_alias, can I set logs location to the current vhost?
Hi, I'll think about logging optimization after, well my file_puts_content is correctly signed (not complete indeed in my comments) but works if I can it manually with /home/user/testlog something else foo bar test, result in the correct data dump in my /tmp/log
May
6
comment Using vhost_alias, can I set logs location to the current vhost?
Hi, thank you for pointing me this option, I tried to do CustomLog "|/home/user/testlog" combined It is called correctly, but it seems that it doesn't provide any arguments to the script, how could I retrieve the options to work with? Currently my script is just as follow: $options = print_r($argv, true); file_puts_content($file); (php code)
May
6
awarded  Scholar
May
6
accepted DNS Load balancing vs Incremented DNS
May
6
comment DNS Load balancing vs Incremented DNS
I totally agree with your answer, thank you, I hope my sysadmin will understand your last point as it the one we diverge. I actually don't think application shouldn't be aware of such informations
May
6
comment DNS Load balancing vs Incremented DNS
ok thank you for your answer, I totally understand your arguments. However edit your DNS record and wait for it to propagate that's true, but if a server is down or should be shutdown, it is not more convenient than doing it programmatically in my application, it doesn't resolve anything imo. However your idea about pointing the domain to the LB seems the best solution.
May
6
asked DNS Load balancing vs Incremented DNS
May
6
asked Using vhost_alias, can I set logs location to the current vhost?