Apache HTTP Server Documentation Version 2.0filenames VirtualDocumentRoot /www/hosts/%2/docs # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the MOD VHOST ALIAS documen- logs/access log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ More Efficient IP-Based Virtual Hosting The configuration changes suggested ([a-z-]+)\.isp\.com/(.*) /home/$1/$2 # define the global CGI directory ScriptAlias /cgi-bin/ /www/std-cgi/ Using a Separate Virtual Host Configuration File This arrangement uses more advanced MOD REWRITE0 码力 | 682 页 | 2.05 MB | 1 年前3
httpd 2.2.29 中文文档filenames VirtualDocumentRoot /www/hosts/%2/docs # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the mod_vhost_alias documentation logs/access_log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ Note If the first VirtualHost block does not include a ServerName directive ([a-z-]+)\.isp\.com/(.*) /home/$1/$2 # define the global CGI directory ScriptAlias /cgi-bin/ /www/std-cgi/ Copyright 2014 The Apache Software Foundation. Licensed under the Apache License, Version 2.00 码力 | 1854 页 | 1.48 MB | 1 年前3
httpd 2.2.27 中文文档filenames VirtualDocumentRoot /www/hosts/%2/docs # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the mod_vhost_alias documentation logs/access_log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ Note If the first VirtualHost block does not include a ServerName directive ([a-z-]+)\.isp\.com/(.*) /home/$1/$2 # define the global CGI directory ScriptAlias /cgi-bin/ /www/std-cgi/ Copyright 2014 The Apache Software Foundation. Licensed under the Apache License, Version 2.00 码力 | 1849 页 | 1.47 MB | 1 年前3
httpd 2.2.31 中文文档filenames VirtualDocumentRoot /www/hosts/%2/docs # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the mod_vhost_alias documentation logs/access_log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ Note If the first VirtualHost block does not include a ServerName directive ([a-z-]+)\.isp\.com/(.*) /home/$1/$2 # define the global CGI directory ScriptAlias /cgi-bin/ /www/std-cgi/ Copyright 2015 The Apache Software Foundation. Licensed under the Apache License, Version 2.00 码力 | 1860 页 | 1.48 MB | 1 年前3
httpd 2.2.27.dev 中文文档filenames VirtualDocumentRoot /www/hosts/%2/docs # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the mod_vhost_alias documentation logs/access_log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ Note If the first VirtualHost block does not include a ServerName directive ([a-z-]+)\.isp\.com/(.*) /home/$1/$2 # define the global CGI directory ScriptAlias /cgi-bin/ /www/std-cgi/ Copyright 2014 The Apache Software Foundation. Licensed under the Apache License, Version 2.00 码力 | 1849 页 | 1.47 MB | 1 年前3
httpd 2.2.32 中文文档filenames VirtualDocumentRoot /www/hosts/%2/docs # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the mod_vhost_alias documentation logs/access_log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ Note If the first VirtualHost block does not include a ServerName directive ([a-z-]+)\.isp\.com/(.*) /home/$1/$2 # define the global CGI directory ScriptAlias /cgi-bin/ /www/std-cgi/ Copyright 2017 The Apache Software Foundation. Licensed under the Apache License, Version 2.00 码力 | 1866 页 | 1.48 MB | 1 年前3
Apache HTTP Server Documentation Version 2.2filenames VirtualDocumentRoot /www/hosts/%2/docs # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the MOD VHOST ALIAS documen- logs/access log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ =⇒Note If the first VirtualHost block does not include a SERVERNAME directive ([a-z-]+)\.isp\.com/(.*) /home/$1/$2 # define the global CGI directory ScriptAlias /cgi-bin/ /www/std-cgi/ Using a separate virtual host configuration file This arrangement uses more advanced mod rewrite0 码力 | 805 页 | 2.51 MB | 1 年前3
httpd 2.4.8.dev 中文文档filenames VirtualDocumentRoot /home/%2/www # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the mod_vhost_alias documentation vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std- cgi/ Note If the first VirtualHost block does not include a ServerName directive RewriteRule ^/$ /homepage.min.html [L] RewriteRule ^/$ /homepage.std.html [L] Explanation: If you use a browser which identifies itself as 'Mozilla' (including Netscape0 码力 | 2404 页 | 1.84 MB | 1 年前3
httpd 2.4.9 中文文档filenames VirtualDocumentRoot /home/%2/www # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the mod_vhost_alias documentation vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std- cgi/ Note If the first VirtualHost block does not include a ServerName directive RewriteRule ^/$ /homepage.min.html [L] RewriteRule ^/$ /homepage.std.html [L] Explanation: If you use a browser which identifies itself as 'Mozilla' (including Netscape0 码力 | 2398 页 | 1.84 MB | 1 年前3
Apache HTTP Server Documentation Version 2.4CHAPTER 3. APACHE VIRTUAL HOST DOCUMENTATION # single cgi-bin directory ScriptAlias /cgi-bin/ /www/std-cgi/ There are examples of more complicated VirtualDocumentRoot settings in the MOD VHOST ALIAS documen- logs/access_log.homepages vcommon VirtualDocumentRoot /www/homepages/%0/docs ScriptAlias /cgi-bin/ /www/std-cgi/ =⇒Note If the first VirtualHost block does not include a SERVERNAME directive ROTLOGS.NLM to SYS:/APACHE2/BIN • Create a directory under SYS:/APACHE2 called CONF • Copy the HTTPD-STD.CONF file to the SYS:/APACHE2/CONF directory and rename to HTTPD.CONF • Copy the MIME.TYPES, CHARSET0 码力 | 1031 页 | 3.23 MB | 1 年前3
共 23 条
- 1
- 2
- 3













