Jump to content

Webspace: Difference between revisions

637 bytes added ,  8 October 2007
added file storage
(added file storage)
Line 59: Line 59:
If you want people to see your blog when they go to your website at http://www.redbrick.dcu.ie/~USERNAME this can be done with a re-direct, just run this command in PuTTY
If you want people to see your blog when they go to your website at http://www.redbrick.dcu.ie/~USERNAME this can be done with a re-direct, just run this command in PuTTY
   cp ~receive/bin/wordpress-redirect.html ~/public_html/index.html; chmod 644 ~/public_html/index.html
   cp ~receive/bin/wordpress-redirect.html ~/public_html/index.html; chmod 644 ~/public_html/index.html
== File Storage ==
As well as webpages, you can store other files that you want to share publically (except audio/video, they're not allowed). To do this the first thing you'll need to do is create a directory that is listable (so people can see find the files easily - like this one http://www.redbrick.dcu.ie/~receive/temp).
To make this type the following in PuTTY
mkdir ~/public_html/files
chmod 755 ~/public_html/files
Now you have a files directory in public_html that can be listed (it's listable because you used chmod 755 rather than 711). You can transfer files up here with WinSCP (just don't forget to chmod them 644)


== Further Help ==
== Further Help ==