Difference between revisions of "Compute web server miniFAQ"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Q: ''''''How do I restrict access to my pages? '''
+
===Q: How do I restrict access to my pages? ===
'''A:''' Follow these [[Restrict access to your www pages | instructions]]<br />
+
Follow these [[Restrict access to your www pages | instructions]]<br />
  
'''Q:''' '''I can't write to my public_html directory?
+
===Q: I can't write to my public_html directory?===
''''''A:''' Most likely reason is, that you have reached your diskquota limit. Login to e.g. thinlinc.imm.dtu.dk using your UNIX username/password and type
+
Most likely reason is, that you have reached your diskquota limit. Login to e.g. thinlinc.compute.dtu.dk using your UNIX username/password and type
  
 
  immquota
 
  immquota
Line 9: Line 9:
 
Twice per day all users diskquota are checked and an email send to users who exceed their quota. Questions regarding quotas should be send to [mailto:webadmin@imm.dtu.dk itsupport@imm.dtu.dk]. <br />
 
Twice per day all users diskquota are checked and an email send to users who exceed their quota. Questions regarding quotas should be send to [mailto:webadmin@imm.dtu.dk itsupport@imm.dtu.dk]. <br />
  
'''Q:''' '''How do I check my quotas?<br />''''''A:''' To see your current quota limit and usage you must log on to a UNIX server (e.g. thinlinc.imm.dtu.dk) and in a terminal window type the command:
+
===How do I check my quotas?===
 +
To see your current quota limit and usage you must log on to a UNIX server (e.g. thinlinc.compute.dtu.dk) and in a terminal window type the command:
  
 
  immquota
 
  immquota
Line 17: Line 18:
 
If you are connecting to the WWW2 server using samba (and mapping the share to a local drive) the used/available space on that drive reflects your usage and quota.
 
If you are connecting to the WWW2 server using samba (and mapping the share to a local drive) the used/available space on that drive reflects your usage and quota.
  
[[Category:How do I...]]
+
===Problems with redirects from http://www.compute.dtu.dk/~xxxx/ABC to http://www2.compute.dtu.dk/~xxxx/ABC===
[[Category:Personal and course web pages]]
+
If the folder/file on www2.compute.dtu.dk contains a capitalized letter the redirect will not work. This is because the redirect on sitecore is being lowercased. Either avoid using capitalized letters or place the following line:
 +
  CheckSpelling On
 +
in . '''.htaccess''' file the folder, which holds the folder ''ABC'' (in this case: ''/www/home/xxxx/public_html/.htaccess''). A side effect is that everything becomes case insensitive under  http://www2.compute.dtu.dk/~xxxx.
 +
 
 +
===A redirect like http://www.compute.dtu.dk/~xxxx/fil.pdf to http://www2.compute.dtu.dk/~xxxx/fil.pdf doesn't work ===
 +
You get a "Page not found" generated by sitecore. This will not work. Since the upgrade of sitecore from version 4 to version 6 redirects which ends in a filename (like '''file.pdf''', '''file.html''', etc.) is no longer supported.
 +
 
 +
 
 +
[[Category:Misc]]

Latest revision as of 16:14, 4 June 2015

Q: How do I restrict access to my pages?

Follow these  instructions

Q: I can't write to my public_html directory?

Most likely reason is, that you have reached your diskquota limit. Login to e.g. thinlinc.compute.dtu.dk using your UNIX username/password and type

immquota

Twice per day all users diskquota are checked and an email send to users who exceed their quota. Questions regarding quotas should be send to itsupport@imm.dtu.dk.

How do I check my quotas?

To see your current quota limit and usage you must log on to a UNIX server (e.g. thinlinc.compute.dtu.dk) and in a terminal window type the command:

immquota

If you have exceeded your quota, you will receive an email (this check is performed twice a day).

If you are connecting to the WWW2 server using samba (and mapping the share to a local drive) the used/available space on that drive reflects your usage and quota.

Problems with redirects from http://www.compute.dtu.dk/~xxxx/ABC to http://www2.compute.dtu.dk/~xxxx/ABC

If the folder/file on www2.compute.dtu.dk contains a capitalized letter the redirect will not work. This is because the redirect on sitecore is being lowercased. Either avoid using capitalized letters or place the following line:

 CheckSpelling On

in . .htaccess file the folder, which holds the folder ABC (in this case: /www/home/xxxx/public_html/.htaccess). A side effect is that everything becomes case insensitive under http://www2.compute.dtu.dk/~xxxx.

A redirect like http://www.compute.dtu.dk/~xxxx/fil.pdf to http://www2.compute.dtu.dk/~xxxx/fil.pdf doesn't work

You get a "Page not found" generated by sitecore. This will not work. Since the upgrade of sitecore from version 4 to version 6 redirects which ends in a filename (like file.pdf, file.html, etc.) is no longer supported.