eg-259:practicals:3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-259:practicals:3 [2012/03/14 10:25] – [Configure deploy.sh for Linux/Unix] eechris | eg-259:practicals:3 [2012/03/14 10:34] (current) – [Trouble Shooting] eechris | ||
---|---|---|---|
Line 75: | Line 75: | ||
===== Trouble Shooting ===== | ===== Trouble Shooting ===== | ||
- | If any of the demos fails, the most likely reason will be file permissions. Check that the resource '' | + | If any of the demos fails, the most likely reason will be file permissions. Check that the resource '' |
- | If these tips don't help, it would be worth noting the error message returned by the web server and looking into the server error log '' | + | Another possible problem, especially on Unix-based operating systems (Linux/Mac) may be due to line endings. Ubuntu provides a package that provides tools to correct this: |
+ | < | ||
+ | $ sudo apt-get install tofrodos | ||
+ | $ cd /usr/bin | ||
+ | $ sudo ln -s fromdos dos2unix | ||
+ | $ sudo ln -s todos unix2dos | ||
+ | </ | ||
+ | |||
+ | Then change the line endings of the cgi-script: | ||
+ | < | ||
+ | $ cd $CGI_BIN/ | ||
+ | $ sudo dos2unix echo_params.cgi | ||
+ | </ | ||
+ | |||
+ | If these tips don't help, it would be worth noting the error message returned by the web server and looking into the server error log '' | ||
===== References ===== | ===== References ===== |
eg-259/practicals/3.1331720704.txt.gz · Last modified: 2012/03/14 10:25 by eechris