213 reputation
113
bio website bharath.lohray.com
location Lubbock, TX
age 30
visits member for 3 years
seen Jul 6 at 17:11

...


Apr
10
answered Browser does not render phpinfo()
Apr
10
comment Browser does not render phpinfo()
I see a blank page. And on checking for the source, I see some incomplete HTML. I also tried to check it from my phone and do not see any HTML rendering.
Apr
10
asked Browser does not render phpinfo()
Apr
10
comment Run a script as root from apache
Good idea. The thought of providing passwordless su access for just a single script had not occurred to me - lack of experience I recon.
Apr
10
comment Run a script as root from apache
Well, I could not sudo yum install it. Had to compile and install it. Make put he binaries in wired places that did not exists and are not in the PATH!
Apr
10
accepted Run a script as root from apache
Apr
9
comment Run a script as root from apache
Any idea if I can install it on an EC2 instance without compiling it from source ?
Apr
9
comment Run a script as root from apache
@MadHatter - Would it be a security risk? Couldn't anyone get root access by ticking apache into executing sudo bash?
Apr
9
asked Run a script as root from apache
Apr
9
accepted Running dnsmasq as an authoritative DNS server
Apr
9
comment Running dnsmasq as an authoritative DNS server
Thanks :-) I was not only reading imaginary things, I also had some of my DNS concepts messed up! I did not have an A record for h.lohray.com - I thought it was just meant for web servers! I now have an A record for ns1.h.lohray.com pointing to the IP of my AWS instance running dnsmasq, and an NS record for h.lohray.com pointing to ns1.h.lohray.com. And my browser is resolving it right!
Apr
9
comment Running dnsmasq as an authoritative DNS server
Oh! I am sorry :-(. I think I read whatever was on my mind than what was on the screen :-( My shortcoming. When I query 50.19.103.190 for i7.h.lohray.com, I get the right IP. I am still to figure out how to get the dnsmasq to resolve right. - Thank you.
Apr
8
awarded  Commentator
Apr
8
comment Running dnsmasq as an authoritative DNS server
Unfortunately, I still get i7.h.lohray.com IN NS 50.19.103.190 1800s (30m). I am expecting a different IP for i7.h.lohray.com. 50.19.103.190 is not the ip I set for i7.h.lohray.com in the hosts file :-(
Apr
6
comment Running dnsmasq as an authoritative DNS server
Thanks! I think i'll wait and watch then :-)
Apr
6
revised Running dnsmasq as an authoritative DNS server
added 31 characters in body
Apr
6
comment Running dnsmasq as an authoritative DNS server
I set the NS record for h.lohray.com to 50.19.103.190
Apr
6
comment Running dnsmasq as an authoritative DNS server
The host i7 might be dead if my computer is off.
Apr
6
asked Running dnsmasq as an authoritative DNS server
Feb
18
comment How to get rid of QueryServiceStatus: Win32 error 1062 when you try to start sshd on Cygwin?
Have you solved this yet? I am having similar problems?