updated debug instructions
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 3 Feb 2010 02:54:25 +0000 (02:54 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 3 Feb 2010 02:54:25 +0000 (02:54 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@136 01035d8c-6547-0410-b346-abe4f91aad63

easy-asterisk-gui/.gitignore [new file with mode: 0644]
easy-asterisk-gui/cgi-bin/.gitignore [new file with mode: 0644]
mini-asterisk-gui/Makefile
mini-asterisk-gui/README.txt

diff --git a/easy-asterisk-gui/.gitignore b/easy-asterisk-gui/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/easy-asterisk-gui/cgi-bin/.gitignore b/easy-asterisk-gui/cgi-bin/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
index e3edc860d17f2872a1270afec6afcd6665c01369..24703e5a93b0137297d219a7d0c4936a09b3ae5c 100644 (file)
@@ -16,7 +16,7 @@
 test:
        rcp cgi-bin/*.html cgi-bin/*.sh cgi-bin/*.pl cgi-bin/*.js cgi-bin/*.css \
        cgi-bin/*.png root@$(HOST):/www
-       rcp etc/asterisk/*.conf root@$(HOST):/etc/asterisk
+       scp etc/asterisk/*.conf root@$(HOST):/etc/asterisk
 
 .PHONY : static
 static: 
index 64f3859a9c7d374aa023257e253318afebc63692..a6b9c660efce27fed73d87536a6f9b169349d31a 100644 (file)
@@ -254,8 +254,17 @@ x86:
 
   [david@host cgi-bin]$ export HTTP_COOKIE="loggedin=1" ; sh admin.sh
 
-. The -x option at the stop of any sheel script can be useful to watch
+. The -x option at the stop of any shell script can be useful to trace
   execution on an IP0X:
 
   #!/bin/sh -x
 
+  However this only works if the shell script has executable perminissions
+  set.  If running using the sh command you can also trace execution:
+
+  [david@host cgi-bin]$ sh -x login.sh
+
+. Testing forms from the command line can be achieved by manually
+setting up the CGI QUERY_STRING environment variable:
+
+  [david@host cgi-bin]$ export QUERY_STRING="pass=uClinux" ; sh login.sh