What is a web page?
A website is actually held in an unique type of data, called a “html documents”. html reports could be created in practically any plan that could be made use of to modify document. There are also some systems that help you produce html files. The conveniences along withthese plans is that the courses are typically user-friendly. The disadvantage is that they doesn’t constantly create appropriate html files. We advise developing website page by utilizing a normal full-screen editor, like vi
, pico
, Note Pad in Windows 95, or even such.
A html documents includes “control codes” that determines best website builder the web page will certainly look when checked out withan internet browser. These command codes are actually phoned “html tags”. You do not need to find out more than 10 tags to be actually able to generate a straightforward website.
Publishing a website page on your ACC account
If you sit in the home and produce a website, or are utilizing a Net hooked up, non-ACC, computer system, you have to upload the documents having the website page to your ACC account. This is done utilizing FTP ( Currently merely in Swedish).
The simplest method to develop website page is actually to visit on your ACC account and also generate the webpages along withamong the publishers on the unit. After that you don’t have to tinker SFTP.
When you have made a website page and intend to release it, you should put the file( s) having your websites on an unique area. This unique place is the directory ~/ public_html
on your ACC profile (the “ ~
” character implies “residence directory site”). The listing ~/ public_html
is actually produced along withthe command mkdir ~/ public_html
Everything that you invest this directory will definitely be publicly offered at http:// www.acc.umu.se/~your-username
To allow the web hosting server to send your website page to individuals that desire to look at it, you should make the listing social readble. This is done making use of the order below: chmod 755 ~/ public_html
The file that contains your home page need to have an unique name, index. html
, in order that the internet server recognizes what websites to present if you have numerous data consisting of websites. The files, like the directory site, should be public legible, and also reports are actually revealed legible using the task force chmod 644 filename
where filename
is changed withthe title of the documents that you would like to reveal understandable.
If you think doubtful abou this, you may regularly utilize the command “fixchmod
“, that immediately sets the gain access to authorizations to the best values. In that way you don’t must make use of the chmod
– task force. Only create fixchmod
as well as it will certainly handle the remainder.
Bigger or advanced webpages
If your webpage gets large, you should split it into a number of muchsmaller webpages. This is actually done by merely producing a number of various html files consisting of the different webpages. The data containing the principal page has to still have the name index. html
, and coming from it you will connect to the various other documents. Make certain you name the files in a clever manner, giving them titles like about _ me.html
, links. html
and more.
You can easily additionally structure your webpages throughplacing all of them in various directories depending upon what info is consisted of in the various web pages. For instance, you can easily place all your web link webpages in the listing ~/ public_html/ links/
and also your Spice-Girls-pages in the listing ~/ public_html/ spicegirls/
and so forth… The major hyperlink webpage need to then be put in the file index. html
in the link-directory, to make sure that the internet server can easily discover it. A page containing links to your all your friends homepages can be called friends. html
and be placed in the link-directory. And more …
cgi- manuscripts
If you have a cgi-script that you would like to be actually operated time, as an example to deal withan attendee manual or count the number of sees to your page, that manuscript has to be actually put in the listing ~/ public_html
or a subdirectory to ~/ public_html
cgi-scripts should be exe, and are readied to be actually therefore throughproviding the command chmod 755 scriptname
where scriptname
is actually changed along withthe label of the having the cgi-script.
The demand fixchmod
will definitely perform this automatically, if you believe it seems to be to made complex to use chmod
– task force.
Now, how can you make a cgi text manage every time an individual checks out a webpage? It is actually truly somewhat straightforward. Merely put the adhering to pipes somewhere in your html documents: <