■Is it possible to restrict access on WEB PARK?
Yes, it is possible to restrict access by changing the settings of mod_rewrite, and .htaccess.
- It is possible to set up redirection to other sites when the web address of SAKURA Internet is used by using mod_rewrite to adjust the settings.
- It is possible to limit the access to only from on-campus setting up using「.htaccess」.
Example of .htaccess to restrict access only within the campus network
|If you want to restrict access at http://webparkNNNN.sakura.ne.jp/ simultaneously, you should write the following .htaccess file.
#Example of a case where you want to restrict access to http://webparkNNNN.sakura.ne.jp/ at the same time
# – Allow access without evaluating subsequent conditions
# Access to http://park.itc.u-tokyo.ac.jp/XXXX/
# – not accessed via park.itc proxy => direct access or proxy at another site
# – Access is not allowed if either of the above two conditions applies
However, it is not possible to specify Options. ([Internal Server Error] (* see below) will sometimes be displayed. Please take extra care when setting up, as if you make a mistake when setting up, you may end up not being able to gain access.)
For details of each functions, please refer to SAKURA’s internet manual.