Httpd goes into infinite loop
I'm actually doing build automation using "phing" ; for following are the steps involved in build preparation.
1. take svn checkout.
3. deploy it on server.
my script is running perfectly fine when I run "localhost" but When I use IP instead, it infinitely creates a build.
I can't create a virtual host so all of the user has to access it via machine IP.
I'm using "shell_exec()" and I added "_www" (httpd user ) in sudoers list so that , script won't ask for password when it copies to server ( I know this is really bad idea to provide access )
Please guide me about this awkward issue. What wrong I m doing
Never used phing, sorry.
My deployments are usually just "svn update -r ###" where the app install is located.
July 10th, 2013, 04:44 AM
actually, its nothing to do with phing.. even if you try to give "svn update" it goes into infinite loop.
July 10th, 2013, 11:10 AM
Originally Posted by ryand
The only thing I can think would be the problem is some sort of redirect loop on whatever server hosts your subversion repository.
July 10th, 2013, 02:39 PM
it was never a script issue at all. In one of the svn repository there were sub repositories exists so this was impacted the script..
Originally Posted by dmittner
so much time went in investigating the root cause but thanks for all.