Differences

This shows you the differences between two versions of the page.

Link to this comparison view

faq:web02 [2011/04/30 19:17]
georg created
faq:web02 [2011/04/30 19:19] (current)
georg
Line 1: Line 1:
 <​code>​ <​code>​
-[02] WHAT ARE THE DIFFERENT DNS RECORD TYPES?+[02] IS PHP4, ASP, PERL, SSI, CGI AVAILABLE HERE? 
 +   
 +     YES!
  
-     This is a pretty quick and basic description. ​ The most +     This is probably FAQ #1 and its annoying as hell to have to 
-     important records are the A, MX and CNAME.  ​You can probably +     answer it over and over and over and over and over again. 
-     figure out how the DNS database entry works.+     
 +     We use suEXEC and suPHP! ​ What this means is that the tools 
 +     you have access to under your SDF membership are the tools 
 +     you can use in your website scripting.
  
-     SOA    Start Of Authority. ​ Is probably the most complicated +     To make use of SSI, be sure to use .shtml as your filename 
-            portion ​of the DNS database ​to understand SDF takes +     extension.
-            care of this record for you.+
  
-     A      Address record. ​ The IP address for host or domain.+     Need to see php4 options? ​ Create ​file called 'test.php' 
 +     in your webdirectory,​ and put the following inside:
  
-     MX     Mail Exchanger. ​ The host who handles mail for your +      
-            ​domain/​hosts. ​ There is a numeric value before the  +   
-            MX host to specify preference (typically 75 for +     How about CGI? 
-            primaryand 100 for a secondary)+  
 +     If you know how to ask the question, you better know how to 
 +     make use of the facilities. ​ Giving ​detailed tutorial is 
 +     ​beyond the scope of this FAQhowever, very simple examples 
 +     may show up here. For instance:
  
-     CNAME  Canonical Name - an equivilent host name.+     If you want to create a simple CGI, you don't need to use 
 +     PERL, you can do it the UNIX way in ksh!  (PS, PERL != CGI)
  
-     A typical database (without the SOA) might look like this:+     #​!/​bin/​ksh 
 +     #  
 +     # My silly.cgi 
 +     # 
 +     echo Content-typetext/html 
 +     ​echo 
 +     echo ""​ 
 +     echo " 
 +my silly hello world. 
 +"
  
-     $ORIGIN mydomain.org.+     To create powerful CGIs using LISP, you can use OpenLISP on 
 +     SDF by simply:
  
-     foo IN A 10.0.0.1 +     #​!/​usr/​pkg/​uxlisp/​uxlisp -quiet 
- IN MX 75 ​  ​foo.mydomain.org. +     ;  
- IN MX 100 ​ mail.anotherhost.org+     ; My powerful.cgi 
-     bar IN CNAME foo.mydomain.org.+     
 +     ​(print "​Content-type:​ text/​html"​) 
 +     ​(print) 
 +     ​(print ""​) 
 +     ​(print " 
 +my powerful hello world. 
 +")
  
-     Notice that the "​."​ at the end of text is of importance. +     For more information and tutorial on using LISP on SDF 
-     the $ORIGIN is tag in the database, which tells the nameserver +     for the websee http://​lisp-p.org
-     that all information following needs to have '​mydomain.org.'​ +
-     ​appended to the initial tag (id estfoo.mydomain.org. instead +
-     of just '​foo'​).+
  
-     In the above example, host 'foo' ​has an address of 10.0.0.1 and +     While we don't directly support ​'ASP' you can convert any  
-     its favourite mail exchanger is itself. ​ In the event that it +     ASP format file to a PHP file using '​asp2php'​ 
-     is unavailable,​ its second favourite mail exchanger is +   ​ 
-     '​mail.anotherhost.org'​ which lives outside of this database.+     ------------------------------------------------------------ ​
  
-     Host 'bar' ​in basically just an equivilent name for 'foo' .. although +     Yes, use the extension ​'.cgi' for a script to be executed by 
-     ​you ​could of just had another A and MX records for 'bar'this is +     the webserver. ​ You can run 'mkhomepg -p' ​to set proper file 
-     ​the ​most efficient ​and clean way to build your database.+     ​permissions after you have uploaded or created new filesAlso, 
 +     ​you ​don't need a 'cgi-bin'​ or whatever like some sites have. 
 +     Its not necessary! ​ CGIs can be run from any directory within 
 +     your web directory. 
 + 
 +     If you have read this answer and its of no help, rather than 
 +     pestering all the other users, how about going off and reading 
 +     a book on PHP, PYTHON, LISP .. whatever .
 </​code>​ </​code>​
 [[faq:​web|back]] [[faq:​web|back]]