This document consists of a list of modules that are installed on project web server, details on how they are configured configuration, and what to look out for when using a project web server.
Management and building of a project web server are done on shell server (shell.osdn.net). On project web server, the following directories of the shell server will be released.
Directories that will be released | Shell Server Directory |
http://<project name>.osdn.jp/ | /home/groups/<the first letter of the project Unix name>/<the first and the second letters of the project UNIX name>/<project UNIX name>/htdocs/ |
http://<project name>.osdn.jp/cgi-bin/ | /home/groups/<the first letter of the project Unix name>/<the first and the second letters of the project UNIX name>/<project UNIX name>/cgi-bin/ |
On a project web server, you can use the following script languages for CGI exectution environment,.
By applying .htaccess file to each directory, you can customize the operations of the web server. You can use any directive for .htaccess except options directives.
If you want to learn how to use .httaccess file, please read Apache Tutorial.
Project web server is installed with the the following Apache modules.
To learn how to apply them, please read Official Documents on apache.org. Below, we'll supplement on the configuration when applied on OSDN.
Please view the Dynamic Contents of Project Web Page.
Mod_rewrite is an extremely strong URL mapping tool, but there are a few things you need to be aware of when using within .htaccess.
First of all, the rewriting engine is not enabled by standard, therefore it needs to be enabled for every directory. Also, for URL rewriting within the directory, the “RewriteBase” needs to be configured all together. Please also read the apache.org Official Documents (especially the RewriteBase section.)
Here, we'll show your some simple samples.
Configure .htaccess which is right under /htdocs to look like below.
RewriteEngine on RewriteBase / RewriteRule foo.html index.html
Configure .htaccess of htdocs/docs to look like below.
RewriteEngine on RewriteBase /docs RewriteRule ^([^.]+).htm$ $1.html
RewriteEngine on RewriteBase /cgi-bin/bbs RewriteRule ^article([0-9]+)$ bbs.cgi?no=$1
[PageInfo]
LastUpdate: 2016-10-04 12:58:46, ModifiedBy: ishikawa
[License]
GNU Free Documentation License
[Permissions]
view:all, edit:members, delete/config:members