httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "helen mac ginn" <helen_bab...@hotmail.com>
Subject [users@httpd] Who can help me with .htaccess and .htpassw?
Date Mon, 04 Oct 2004 12:28:35 GMT
<html><div style='background-color:'><DIV>
<DIV class=RTE>Hear i am looking for help I'm realy getting crazy.I will try to give to u all informations that i supose u neade.My problem is that if i connect my redirect web page(i have a dynamic ip that change every time i get connect on internet) i have the request user and apssword but i can not log in.I&nbsp;just neade taht to keep provate access to my web page.This is the message error i get in the error log:</DIV>
<DIV class=RTE>&nbsp;Could not open password file: C:/Apache*Group/Apache2/boh/.htpasswd<BR>[Mon Oct 04 13:26:12 2004] [error] [client 80.181.172.51] user proweb not found: /</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>I'm running apache HTTP server 2.0.47 on windows xp pro.All file (my web page files,the .htaccess and .htpasswr are in the same directory that is htdocs</DIV>
<DIV class=RTE>This is my .htaccess:</DIV>
<DIV class=RTE>AuthUserFile&nbsp; /Apache Group/Apache2/htdocs/.htpasswd<BR>AuthGroupFile /usr/dom/xdomain/public_html/secretlist/.htgroup<BR>AuthName ProWEB<BR>AuthType Basic</DIV>
<DIV class=RTE>&lt;Limit POST GET PUT&gt;<BR>require group subscribers<BR>&lt;/Limit&gt;<BR></DIV>
<DIV class=RTE>This is my .htpassw:</DIV>
<DIV class=RTE>proweb:pippo<BR></DIV>
<DIV class=RTE>And this is my httpd.conf</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>#<BR># Based upon the NCSA server configuration files originally by Rob McCool.<BR>#<BR># This is the main Apache server configuration file.&nbsp; It contains the<BR># configuration directives that give the server its instructions.<BR># See &lt;<A href="http://httpd.apache.org/docs-2.0/">URL:http://httpd.apache.org/docs-2.0/</A>&gt; for detailed information about<BR># the directives.<BR>#<BR># Do NOT simply read the instructions in here without understanding<BR># what they do.&nbsp; They're here only as hints or reminders.&nbsp; If you are unsure<BR># consult the online docs. You have been warned.&nbsp; <BR>#<BR># The configuration directives are grouped into three basic sections:<BR>#&nbsp; 1. Directives that control the operation of the Apache server process as a<BR>#&nbsp;&nbsp;&nbsp;&nbsp; whole (the 'global environment').<BR>#&nbsp; 2. Directives that define the parameters of the 'main' or 'default' server,<BR>#&nbsp;&nbsp;&nbsp;&nbsp; which responds to requests that aren't handled by a virtual host.<BR>#&nbsp;&nbsp;&nbsp;&nbsp; These directives also provide default values for the settings<BR>#&nbsp;&nbsp;&nbsp;&nbsp; of all virtual hosts.<BR>#&nbsp; 3. Settings for virtual hosts, which allow Web requests to be sent to<BR>#&nbsp;&nbsp;&nbsp;&nbsp; different IP addresses or hostnames and have them handled by the<BR>#&nbsp;&nbsp;&nbsp;&nbsp; same Apache server process.<BR>#<BR># Configuration and logfile names: If the filenames you specify for many<BR># of the server's control files begin with "/" (or "drive:/" for Win32), the<BR># server will use that explicit path.&nbsp; If the filenames do *not* begin<BR># with "/", the value of ServerRoot is prepended -- so "logs/foo.log"<BR># with ServerRoot set to "C:/Programmi/Apache Group/Apache2" will be interpreted by the<BR># server as "C:/Programmi/Apache Group/Apache2/logs/foo.log".<BR>#<BR># NOTE: Where filenames are specified, you must use forward slashes<BR># instead of backslashes (e.g., "c:/apache" instead of "c:\apache").<BR># If a drive letter is omitted, the drive on which Apache.exe is located<BR># will be used by default.&nbsp; It is recommended that you always supply<BR># an explicit drive letter in absolute paths, however, to avoid<BR># confusion.<BR>#</DIV>
<DIV class=RTE>### Section 1: Global Environment<BR>#<BR># The directives in this section affect the overall operation of Apache,<BR># such as the number of concurrent requests it can handle or where it<BR># can find its configuration files.<BR>#</DIV>
<DIV class=RTE>#<BR># ServerRoot: The top of the directory tree under which the server's<BR># configuration, error, and log files are kept.<BR>#<BR># NOTE!&nbsp; If you intend to place this on an NFS (or otherwise network)<BR># mounted filesystem then please read the LockFile documentation (available<BR># at &lt;<A href="http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile">URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile</A>&gt;);<BR># you will save yourself a lot of trouble.<BR>#<BR># Do NOT add a slash at the end of the directory path.<BR>#<BR>ServerRoot "C:/Programmi/Apache Group/Apache2"</DIV>
<DIV class=RTE>#<BR># ScoreBoardFile: File used to store internal server process information.<BR># If unspecified (the default), the scoreboard will be stored in an<BR># anonymous shared memory segment, and will be unavailable to third-party<BR># applications.<BR># If specified, ensure that no two invocations of Apache share the same<BR># scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.<BR>#<BR>#ScoreBoardFile logs/apache_runtime_status</DIV>
<DIV class=RTE>#<BR># PidFile: The file in which the server should record its process<BR># identification number when it starts.<BR>#<BR>PidFile logs/httpd.pid</DIV>
<DIV class=RTE>#<BR># Timeout: The number of seconds before receives and sends time out.<BR>#<BR>Timeout 300</DIV>
<DIV class=RTE>#<BR># KeepAlive: Whether or not to allow persistent connections (more than<BR># one request per connection). Set to "Off" to deactivate.<BR>#<BR>KeepAlive On</DIV>
<DIV class=RTE>#<BR># MaxKeepAliveRequests: The maximum number of requests to allow<BR># during a persistent connection. Set to 0 to allow an unlimited amount.<BR># We recommend you leave this number high, for maximum performance.<BR>#<BR>MaxKeepAliveRequests 100</DIV>
<DIV class=RTE>#<BR># KeepAliveTimeout: Number of seconds to wait for the next request from the<BR># same client on the same connection.<BR>#<BR>KeepAliveTimeout 15</DIV>
<DIV class=RTE>##<BR>## Server-Pool Size Regulation (MPM specific)<BR>## </DIV>
<DIV class=RTE># WinNT MPM<BR># ThreadsPerChild: constant number of worker threads in the server process<BR># MaxRequestsPerChild: maximum&nbsp; number of requests a server process serves<BR>&lt;IfModule mpm_winnt.c&gt;<BR>ThreadsPerChild 250<BR>MaxRequestsPerChild&nbsp; 0<BR>&lt;/IfModule&gt;</DIV>
<DIV class=RTE>#<BR># Listen: Allows you to bind Apache to specific IP addresses and/or<BR># ports, instead of the default. See also the &lt;VirtualHost&gt;<BR># directive.<BR>#<BR># Change this to Listen on specific IP addresses as shown below to <BR># prevent Apache from glomming onto all bound IP addresses (0.0.0.0)<BR>#<BR>#Listen 12.34.56.78:80<BR>Listen 80</DIV>
<DIV class=RTE>#<BR># Dynamic Shared Object (DSO) Support<BR>#<BR># To be able to use the functionality of a module which was built as a DSO you<BR># have to place corresponding `LoadModule' lines at this location so the<BR># directives contained in it are actually available _before_ they are used.<BR># Statically compiled modules (those listed by `httpd -l') do not need<BR># to be loaded here.<BR>#<BR># Example:<BR># LoadModule foo_module modules/mod_foo.so<BR>#<BR>LoadModule access_module modules/mod_access.so<BR>LoadModule actions_module modules/mod_actions.so<BR>LoadModule alias_module modules/mod_alias.so<BR>LoadModule asis_module modules/mod_asis.so<BR>LoadModule auth_module modules/mod_auth.so<BR>#LoadModule auth_anon_module modules/mod_auth_anon.so<BR>#LoadModule auth_dbm_module modules/mod_auth_dbm.so<BR>#LoadModule auth_digest_module modules/mod_auth_digest.so<BR>LoadModule autoindex_module modules/mod_autoindex.so<BR>#LoadModule cern_meta_module modules/mod_cern_meta.so<BR>LoadModule cgi_module modules/mod_cgi.so<BR>#LoadModule dav_module modules/mod_dav.so<BR>#LoadModule dav_fs_module modules/mod_dav_fs.so<BR>LoadModule dir_module modules/mod_dir.so<BR>LoadModule env_module modules/mod_env.so<BR>#LoadModule expires_module modules/mod_expires.so<BR>#LoadModule file_cache_module modules/mod_file_cache.so<BR>#LoadModule headers_module modules/mod_headers.so<BR>LoadModule imap_module modules/mod_imap.so<BR>LoadModule include_module modules/mod_include.so<BR>#LoadModule info_module modules/mod_info.so<BR>LoadModule isapi_module modules/mod_isapi.so<BR>LoadModule log_config_module modules/mod_log_config.so<BR>LoadModule mime_module modules/mod_mime.so<BR>#LoadModule mime_magic_module modules/mod_mime_magic.so<BR>#LoadModule proxy_module modules/mod_proxy.so<BR>#LoadModule proxy_connect_module modules/mod_proxy_connect.so<BR>#LoadModule proxy_http_module modules/mod_proxy_http.so<BR>#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<BR>LoadModule negotiation_module modules/mod_negotiation.so<BR>#LoadModule rewrite_module modules/mod_rewrite.so<BR>LoadModule setenvif_module modules/mod_setenvif.so<BR>#LoadModule speling_module modules/mod_speling.so<BR>#LoadModule status_module modules/mod_status.so<BR>#LoadModule unique_id_module modules/mod_unique_id.so<BR>LoadModule userdir_module modules/mod_userdir.so<BR>#LoadModule usertrack_module modules/mod_usertrack.so<BR>#LoadModule vhost_alias_module modules/mod_vhost_alias.so<BR>#LoadModule ssl_module modules/mod_ssl.so</DIV>
<DIV class=RTE>#<BR># ExtendedStatus controls whether Apache will generate "full" status<BR># information (ExtendedStatus On) or just basic information (ExtendedStatus<BR># Off) when the "server-status" handler is called. The default is Off.<BR>#<BR>#ExtendedStatus On</DIV>
<DIV class=RTE>### Section 2: 'Main' server configuration<BR>#<BR># The directives in this section set up the values used by the 'main'<BR># server, which responds to any requests that aren't handled by a<BR># &lt;VirtualHost&gt; definition.&nbsp; These values also provide defaults for<BR># any &lt;VirtualHost&gt; containers you may define later in the file.<BR>#<BR># All of these directives may appear inside &lt;VirtualHost&gt; containers,<BR># in which case these default settings will be overridden for the<BR># virtual host being defined.<BR>#</DIV>
<DIV class=RTE>#<BR># ServerAdmin: Your address, where problems with the server should be<BR># e-mailed.&nbsp; This address appears on some server-generated pages, such<BR># as error documents.&nbsp; e.g. <A href="mailto:admin@your-domain.com">admin@your-domain.com</A><BR>#<BR>ServerAdmin XXXX<A href="mailto:XXXX@XXXX.com">@XXXX.com</A></DIV>
<DIV class=RTE>#<BR># ServerName gives the name and port that the server uses to identify itself.<BR># This can often be determined automatically, but we recommend you specify<BR># it explicitly to prevent problems during startup.<BR>#<BR># If this is not set to valid DNS name for your host, server-generated<BR># redirections will not work.&nbsp; See also the UseCanonicalName directive.<BR>#<BR># If your host doesn't have a registered DNS name, enter its IP address here.<BR># You will have to access it by its address anyway, and this will make <BR># redirections work in a sensible way.<BR>#<BR>ServerName <A href="http://www.lapisinunanotteburrascosa.com/">wwwXXXXXXXXXXXXXXXXXXXX.com:80</A></DIV>
<DIV class=RTE>#<BR># UseCanonicalName: Determines how Apache constructs self-referencing <BR># URLs and the SERVER_NAME and SERVER_PORT variables.<BR># When set "Off", Apache will use the Hostname and Port supplied<BR># by the client.&nbsp; When set "On", Apache will use the value of the<BR># ServerName directive.<BR>#<BR>UseCanonicalName Off</DIV>
<DIV class=RTE>#<BR># DocumentRoot: The directory out of which you will serve your<BR># documents. By default, all requests are taken from this directory, but<BR># symbolic links and aliases may be used to point to other locations.<BR>#<BR>DocumentRoot "C:/Programmi/Apache Group/Apache2/htdocs"</DIV>
<DIV class=RTE>#<BR># Each directory to which Apache has access can be configured with respect<BR># to which services and features are allowed and/or disabled in that<BR># directory (and its subdirectories). <BR>#<BR># First, we configure the "default" to be a very restrictive set of <BR># features.&nbsp; <BR>#<BR>&lt;Directory /&gt;<BR>&nbsp;&nbsp;&nbsp; Options FollowSymLinks<BR>&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&lt;/Directory&gt;</DIV>
<DIV class=RTE>#<BR># Note that from this point forward you must specifically allow<BR># particular features to be enabled - so if something's not working as<BR># you might expect, make sure that you have specifically enabled it<BR># below.<BR>#</DIV>
<DIV class=RTE>#<BR># This should be changed to whatever you set DocumentRoot to.<BR>#<BR>&lt;Directory "C:/Programmi/Apache Group/Apache2/htdocs"&gt;</DIV>
<DIV class=RTE>#<BR># Possible values for the Options directive are "None", "All",<BR># or any combination of:<BR>#&nbsp;&nbsp; Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews<BR>#<BR># Note that "MultiViews" must be named *explicitly* --- "Options All"<BR># doesn't give it to you.<BR>#<BR># The Options directive is both complicated and important.&nbsp; Please see<BR># <A href="http://httpd.apache.org/docs-2.0/mod/core.html#options">http://httpd.apache.org/docs-2.0/mod/core.html#options</A><BR># for more information.<BR>#<BR>&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks</DIV>
<DIV class=RTE>#<BR># AllowOverride controls what directives may be placed in .htaccess files.<BR># It can be "All", "None", or any combination of the keywords:<BR>#&nbsp;&nbsp; Options FileInfo AuthConfig Limit<BR>#<BR>&nbsp;&nbsp;&nbsp; AllowOverride All</DIV>
<DIV class=RTE>#<BR># Controls who can get stuff from this server.<BR>#<BR>&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp; Allow from all</DIV>
<DIV class=RTE>&lt;/Directory&gt;</DIV>
<DIV class=RTE>#<BR># UserDir: The name of the directory that is appended onto a user's home<BR># directory if a ~user request is received.&nbsp; Be especially careful to use<BR># proper, forward slashes here.&nbsp; On Windows NT, "Personal/My Website"<BR># is a more appropriate choice.<BR>#<BR>UserDir "My Documents/My Website"</DIV>
<DIV class=RTE>#<BR># Control access to UserDir directories.&nbsp; The following is an example<BR># for a site where these directories are restricted to read-only.<BR>#<BR># You must correct the path for the root to match your system's configured<BR># user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website"<BR># or whichever, as appropriate.<BR>#<BR>#&lt;Directory "C:/Documents and Settings/*/My Documents/My Website"&gt;<BR>#&nbsp;&nbsp;&nbsp; AllowOverride FileInfo AuthConfig Limit<BR>#&nbsp;&nbsp;&nbsp; Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec<BR>#&nbsp;&nbsp;&nbsp; &lt;Limit GET POST OPTIONS PROPFIND&gt;<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<BR>#&nbsp;&nbsp;&nbsp; &lt;/Limit&gt;<BR>#&nbsp;&nbsp;&nbsp; &lt;LimitExcept GET POST OPTIONS PROPFIND&gt;<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order deny,allow<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Deny from all<BR>#&nbsp;&nbsp;&nbsp; &lt;/LimitExcept&gt;<BR>#&lt;/Directory&gt;</DIV>
<DIV class=RTE>#<BR># DirectoryIndex: sets the file that Apache will serve if a directory<BR># is requested.<BR>#<BR># The index.html.var file (a type-map) is used to deliver content-<BR># negotiated documents.&nbsp; The MultiViews Option can be used for the <BR># same purpose, but it is much slower.<BR>#<BR>DirectoryIndex index.html index.html.var</DIV>
<DIV class=RTE>#<BR># AccessFileName: The name of the file to look for in each directory<BR># for additional configuration directives.&nbsp; See also the AllowOverride <BR># directive.<BR>#<BR>AccessFileName .htaccess</DIV>
<DIV class=RTE>#<BR># The following lines prevent .htaccess and .htpasswd files from being <BR># viewed by Web clients. <BR>#<BR>&lt;Files ~ "^\.ht"&gt;<BR>&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp; Deny from all<BR>&lt;/Files&gt;</DIV>
<DIV class=RTE>#<BR># TypesConfig describes where the mime.types file (or equivalent) is<BR># to be found.<BR>#<BR>TypesConfig conf/mime.types</DIV>
<DIV class=RTE>#<BR># DefaultType is the default MIME type the server will use for a document<BR># if it cannot otherwise determine one, such as from filename extensions.<BR># If your server contains mostly text or HTML documents, "text/plain" is<BR># a good value.&nbsp; If most of your content is binary, such as applications<BR># or images, you may want to use "application/octet-stream" instead to<BR># keep browsers from trying to display binary files as though they are<BR># text.<BR>#<BR>DefaultType text/plain</DIV>
<DIV class=RTE>#<BR># The mod_mime_magic module allows the server to use various hints from the<BR># contents of the file itself to determine its type.&nbsp; The MIMEMagicFile<BR># directive tells the module where the hint definitions are located.<BR>#<BR>&lt;IfModule mod_mime_magic.c&gt;<BR>&nbsp;&nbsp;&nbsp; MIMEMagicFile conf/magic<BR>&lt;/IfModule&gt;</DIV>
<DIV class=RTE>#<BR># HostnameLookups: Log the names of clients or just their IP addresses<BR># e.g., <A href="http://www.apache.org/">www.apache.org</A> (on) or 204.62.129.132 (off).<BR># The default is off because it'd be overall better for the net if people<BR># had to knowingly turn this feature on, since enabling it means that<BR># each client request will result in AT LEAST one lookup request to the<BR># nameserver.<BR>#<BR>HostnameLookups Off</DIV>
<DIV class=RTE>#<BR># EnableMMAP: Control whether memory-mapping is used to deliver<BR># files (assuming that the underlying OS supports it).<BR># The default is on; turn this off if you serve from NFS-mounted <BR># filesystems.&nbsp; On some systems, turning it off (regardless of<BR># filesystem) can improve performance; for details, please see<BR># <A href="http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap">http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap</A><BR>#<BR>#EnableMMAP off</DIV>
<DIV class=RTE>#<BR># EnableSendfile: Control whether the sendfile kernel support is <BR># used&nbsp; to deliver files (assuming that the OS supports it).<BR># The default is on; turn this off if you serve from NFS-mounted <BR># filesystems.&nbsp; Please see<BR># <A href="http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile">http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile</A><BR>#<BR>#EnableSendfile off</DIV>
<DIV class=RTE>#<BR># ErrorLog: The location of the error log file.<BR># If you do not specify an ErrorLog directive within a &lt;VirtualHost&gt;<BR># container, error messages relating to that virtual host will be<BR># logged here.&nbsp; If you *do* define an error logfile for a &lt;VirtualHost&gt;<BR># container, that host's errors will be logged there and not here.<BR>#<BR>ErrorLog logs/error.log</DIV>
<DIV class=RTE>#<BR># LogLevel: Control the number of messages logged to the error.log.<BR># Possible values include: debug, info, notice, warn, error, crit,<BR># alert, emerg.<BR>#<BR>LogLevel warn</DIV>
<DIV class=RTE>#<BR># The following directives define some format nicknames for use with<BR># a CustomLog directive (see below).<BR>#<BR>LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined<BR>LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common<BR>LogFormat "%{Referer}i -&gt; %U" referer<BR>LogFormat "%{User-agent}i" agent</DIV>
<DIV class=RTE># You need to enable mod_logio.c to use %I and %O<BR>#LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio</DIV>
<DIV class=RTE>#<BR># The location and format of the access logfile (Common Logfile Format).<BR># If you do not define any access logfiles within a &lt;VirtualHost&gt;<BR># container, they will be logged here.&nbsp; Contrariwise, if you *do*<BR># define per-&lt;VirtualHost&gt; access logfiles, transactions will be<BR># logged therein and *not* in this file.<BR>#<BR>CustomLog logs/access.log common</DIV>
<DIV class=RTE>#<BR># If you would like to have agent and referer logfiles, uncomment the<BR># following directives.<BR>#<BR>#CustomLog logs/referer.log referer<BR>#CustomLog logs/agent.log agent</DIV>
<DIV class=RTE>#<BR># If you prefer a single logfile with access, agent, and referer information<BR># (Combined Logfile Format) you can use the following directive.<BR>#<BR>#CustomLog logs/access.log combined</DIV>
<DIV class=RTE>#<BR># ServerTokens<BR># This directive configures what you return as the Server HTTP response<BR># Header. The default is 'Full' which sends information about the OS-Type<BR># and compiled in modules.<BR># Set to one of:&nbsp; Full | OS | Minor | Minimal | Major | Prod<BR># where Full conveys the most information, and Prod the least.<BR>#<BR>ServerTokens Full</DIV>
<DIV class=RTE>#<BR># Optionally add a line containing the server version and virtual host<BR># name to server-generated pages (internal error documents, FTP directory <BR># listings, mod_status and mod_info output etc., but not CGI generated <BR># documents or custom error documents).<BR># Set to "EMail" to also include a mailto: link to the ServerAdmin.<BR># Set to one of:&nbsp; On | Off | EMail<BR>#<BR>ServerSignature On</DIV>
<DIV class=RTE>#<BR># Aliases: Add here as many aliases as you need (with no limit). The format is <BR># Alias fakename realname<BR>#<BR># Note that if you include a trailing / on fakename then the server will<BR># require it to be present in the URL.&nbsp; So "/icons" isn't aliased in this<BR># example, only "/icons/".&nbsp; If the fakename is slash-terminated, then the <BR># realname must also be slash terminated, and if the fakename omits the <BR># trailing slash, the realname must also omit it.<BR>#<BR># We include the /icons/ alias for FancyIndexed directory listings.&nbsp; If you<BR># do not use FancyIndexing, you may comment this out.<BR>#<BR>Alias /icons/ "C:/Programmi/Apache Group/Apache2/icons/"</DIV>
<DIV class=RTE>&lt;Directory "C:/Programmi/Apache Group/Apache2/icons"&gt;<BR>&nbsp;&nbsp;&nbsp; Options Indexes MultiViews<BR>&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp; Allow from all<BR>&lt;/Directory&gt;</DIV>
<DIV class=RTE>#<BR># This should be changed to the ServerRoot/manual/.&nbsp; The alias provides<BR># the manual, even if you choose to move your DocumentRoot.&nbsp; You may comment<BR># this out if you do not care for the documentation.<BR>#<BR>AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "C:/Programmi/Apache Group/Apache2/manual$1"</DIV>
<DIV class=RTE>&lt;Directory "C:/Programmi/Apache Group/Apache2/manual"&gt;<BR>&nbsp;&nbsp;&nbsp; Options Indexes<BR>&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp; Allow from all</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp; &lt;Files *.html&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SetHandler type-map<BR>&nbsp;&nbsp;&nbsp; &lt;/Files&gt;</DIV>
<DIV class=RTE>&nbsp;&nbsp;&nbsp; SetEnvIf Request_URI ^/manual/de/ prefer-language=de<BR>&nbsp;&nbsp;&nbsp; SetEnvIf Request_URI ^/manual/en/ prefer-language=en<BR>&nbsp;&nbsp;&nbsp; SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr<BR>&nbsp;&nbsp;&nbsp; SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja<BR>&nbsp;&nbsp;&nbsp; SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko<BR>&nbsp;&nbsp;&nbsp; SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru<BR>&nbsp;&nbsp;&nbsp; RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2<BR>&lt;/Directory&gt;</DIV>
<DIV class=RTE>#<BR># ScriptAlias: This controls which directories contain server scripts.<BR># ScriptAliases are essentially the same as Aliases, except that<BR># documents in the realname directory are treated as applications and<BR># run by the server when requested rather than as documents sent to the client.<BR># The same rules about trailing "/" apply to ScriptAlias directives as to<BR># Alias.<BR>#<BR>ScriptAlias /cgi-bin/ "C:/Programmi/Apache Group/Apache2/cgi-bin/"</DIV>
<DIV class=RTE>#<BR># "C:/Programmi/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased<BR># CGI directory exists, if you have that configured.<BR>#<BR>&lt;Directory "C:/Programmi/Apache Group/Apache2/cgi-bin"&gt;<BR>&nbsp;&nbsp;&nbsp; AllowOverride None<BR>&nbsp;&nbsp;&nbsp; Options None<BR>&nbsp;&nbsp;&nbsp; Order allow,deny<BR>&nbsp;&nbsp;&nbsp; Allow from all<BR>&lt;/Directory&gt;</DIV>
<DIV class=RTE>#<BR># Redirect allows you to tell clients about documents which used to exist in<BR># your server's namespace, but do not anymore. This allows you to tell the<BR># clients where to look for the relocated document.<BR># Example:<BR># Redirect permanent /foo <A href="http://www.example.com/bar">http://www.example.com/bar</A></DIV>
<DIV class=RTE>#<BR># Directives controlling the display of server-generated directory listings.<BR>#</DIV>
<DIV class=RTE>#<BR># IndexOptions: Controls the appearance of server-generated directory<BR># listings.<BR>#<BR>IndexOptions FancyIndexing VersionSort</DIV>
<DIV class=RTE>#<BR># AddIcon* directives tell the server which icon to show for different<BR># files or filename extensions.&nbsp; These are only displayed for<BR># FancyIndexed directories.<BR>#<BR>AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip</DIV>
<DIV class=RTE>AddIconByType (TXT,/icons/text.gif) text/*<BR>AddIconByType (IMG,/icons/image2.gif) image/*<BR>AddIconByType (SND,/icons/sound2.gif) audio/*<BR>AddIconByType (VID,/icons/movie.gif) video/*</DIV>
<DIV class=RTE>AddIcon /icons/binary.gif .bin .exe<BR>AddIcon /icons/binhex.gif .hqx<BR>AddIcon /icons/tar.gif .tar<BR>AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv<BR>AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip<BR>AddIcon /icons/a.gif .ps .ai .eps<BR>AddIcon /icons/layout.gif .html .shtml .htm .pdf<BR>AddIcon /icons/text.gif .txt<BR>AddIcon /icons/c.gif .c<BR>AddIcon /icons/p.gif .pl .py<BR>AddIcon /icons/f.gif .for<BR>AddIcon /icons/dvi.gif .dvi<BR>AddIcon /icons/uuencoded.gif .uu<BR>AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl<BR>AddIcon /icons/tex.gif .tex<BR>AddIcon /icons/bomb.gif core</DIV>
<DIV class=RTE>AddIcon /icons/back.gif ..<BR>AddIcon /icons/hand.right.gif README<BR>AddIcon /icons/folder.gif ^^DIRECTORY^^<BR>AddIcon /icons/blank.gif ^^BLANKICON^^</DIV>
<DIV class=RTE>#<BR># DefaultIcon is which icon to show for files which do not have an icon<BR># explicitly set.<BR>#<BR>DefaultIcon /icons/unknown.gif</DIV>
<DIV class=RTE>#<BR># AddDescription allows you to place a short description after a file in<BR># server-generated indexes.&nbsp; These are only displayed for FancyIndexed<BR># directories.<BR># Format: AddDescription "description" filename<BR>#<BR>#AddDescription "GZIP compressed document" .gz<BR>#AddDescription "tar archive" .tar<BR>#AddDescription "GZIP compressed tar archive" .tgz</DIV>
<DIV class=RTE>#<BR># ReadmeName is the name of the README file the server will look for by<BR># default, and append to directory listings.<BR>#<BR># HeaderName is the name of a file which should be prepended to<BR># directory indexes. <BR>ReadmeName README.html<BR>HeaderName HEADER.html</DIV>
<DIV class=RTE>#<BR># IndexIgnore is a set of filenames which directory indexing should ignore<BR># and not include in the listing.&nbsp; Shell-style wildcarding is permitted.<BR>#<BR>IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t</DIV>
<DIV class=RTE>#<BR># AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress<BR># information on the fly. Note: Not all browsers support this.<BR># Despite the name similarity, the following Add* directives have nothing<BR># to do with the FancyIndexing customization directives above.<BR>#<BR>#AddEncoding x-compress Z<BR>#AddEncoding x-gzip gz tgz</DIV>
<DIV class=RTE>#<BR># DefaultLanguage and AddLanguage allows you to specify the language of <BR># a document. You can then use content negotiation to give a browser a <BR># file in a language the user can understand.<BR>#<BR># Specify a default language. This means that all data<BR># going out without a specific language tag (see below) will <BR># be marked with this one. You probably do NOT want to set<BR># this unless you are sure it is correct for all cases.<BR>#<BR># * It is generally better to not mark a page as <BR># * being a certain language than marking it with the wrong<BR># * language!<BR>#<BR># DefaultLanguage nl<BR>#<BR># Note 1: The suffix does not have to be the same as the language<BR># keyword --- those with documents in Polish (whose net-standard<BR># language code is pl) may wish to use "AddLanguage pl .po" to<BR># avoid the ambiguity with the common suffix for perl scripts.<BR>#<BR># Note 2: The example entries below illustrate that in some cases <BR># the two character 'Language' abbreviation is not identical to <BR># the two character 'Country' code for its country,<BR># E.g. 'Danmark/dk' versus 'Danish/da'.<BR>#<BR># Note 3: In the case of 'ltz' we violate the RFC by using a three char<BR># specifier. There is 'work in progress' to fix this and get<BR># the reference data for rfc1766 cleaned up.<BR>#<BR># Danish (da) - Dutch (nl) - English (en) - Estonian (et)<BR># French (fr) - German (de) - Greek-Modern (el)<BR># Italian (it) - Norwegian (no) - Norwegian Nynorsk (nn) - Korean (ko)<BR># Portugese (pt) - Luxembourgeois* (ltz)<BR># Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs)<BR># Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)<BR># Russian (ru) - Croatian (hr)<BR>#<BR>AddLanguage da .dk<BR>AddLanguage nl .nl<BR>AddLanguage en .en<BR>AddLanguage et .et<BR>AddLanguage fr .fr<BR>AddLanguage de .de<BR>AddLanguage he .he<BR>AddLanguage el .el<BR>AddLanguage it .it<BR>AddLanguage ja .ja<BR>AddLanguage pl .po<BR>AddLanguage ko .ko<BR>AddLanguage pt .pt<BR>AddLanguage nn .nn<BR>AddLanguage no .no<BR>AddLanguage pt-br .pt-br<BR>AddLanguage ltz .ltz<BR>AddLanguage ca .ca<BR>AddLanguage es .es<BR>AddLanguage sv .sv<BR>AddLanguage cs .cz .cs<BR>AddLanguage ru .ru<BR>AddLanguage zh-CN .zh-cn<BR>AddLanguage zh-TW .zh-tw<BR>AddLanguage hr .hr</DIV>
<DIV class=RTE>#<BR># LanguagePriority allows you to give precedence to some languages<BR># in case of a tie during content negotiation.<BR>#<BR># Just list the languages in decreasing order of preference. We have<BR># more or less alphabetized them here. You probably want to change this.<BR>#<BR>LanguagePriority it da nl et fr de el en ja ko no pl pt pt-br ltz ca es sv tw</DIV>
<DIV class=RTE>#<BR># ForceLanguagePriority allows you to serve a result page rather than<BR># MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)<BR># [in case no accepted languages matched the available variants]<BR>#<BR>ForceLanguagePriority Prefer Fallback</DIV>
<DIV class=RTE>#<BR># Specify a default charset for all pages sent out. This is<BR># always a good idea and opens the door for future internationalisation<BR># of your web site, should you ever want it. Specifying it as<BR># a default does little harm; as the standard dictates that a page<BR># is in iso-8859-1 (latin1) unless specified otherwise i.e. you<BR># are merely stating the obvious. There are also some security<BR># reasons in browsers, related to javascript and URL parsing<BR># which encourage you to always set a default char set.<BR>#<BR>AddDefaultCharset ISO-8859-1</DIV>
<DIV class=RTE>#<BR># Commonly used filename extensions to character sets. You probably<BR># want to avoid clashes with the language extensions, unless you<BR># are good at carefully testing your setup after each change.<BR># See <A href="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</A> for the<BR># official list of charset names and their respective RFCs.<BR>#<BR>AddCharset ISO-8859-1&nbsp; .iso8859-1 .latin1<BR>AddCharset ISO-8859-2&nbsp; .iso8859-2 .latin2 .cen<BR>AddCharset ISO-8859-3&nbsp; .iso8859-3 .latin3<BR>AddCharset ISO-8859-4&nbsp; .iso8859-4 .latin4<BR>AddCharset ISO-8859-5&nbsp; .iso8859-5 .latin5 .cyr .iso-ru<BR>AddCharset ISO-8859-6&nbsp; .iso8859-6 .latin6 .arb<BR>AddCharset ISO-8859-7&nbsp; .iso8859-7 .latin7 .grk<BR>AddCharset ISO-8859-8&nbsp; .iso8859-8 .latin8 .heb<BR>AddCharset ISO-8859-9&nbsp; .iso8859-9 .latin9 .trk<BR>AddCharset ISO-2022-JP .iso2022-jp .jis<BR>AddCharset ISO-2022-KR .iso2022-kr .kis<BR>AddCharset ISO-2022-CN .iso2022-cn .cis<BR>AddCharset Big5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Big5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .big5<BR># For russian, more than one charset is used (depends on client, mostly):<BR>AddCharset WINDOWS-1251 .cp-1251&nbsp;&nbsp; .win-1251<BR>AddCharset CP866&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .cp866<BR>AddCharset KOI8-r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .koi8-r .koi8-ru<BR>AddCharset KOI8-ru&nbsp;&nbsp;&nbsp;&nbsp; .koi8-uk .ua<BR>AddCharset ISO-10646-UCS-2 .ucs2<BR>AddCharset ISO-10646-UCS-4 .ucs4<BR>AddCharset UTF-8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .utf8</DIV>
<DIV class=RTE># The set below does not map to a specific (iso) standard<BR># but works on a fairly wide range of browsers. Note that<BR># capitalization actually matters (it should not, but it<BR># does for some browsers).<BR>#<BR># See <A href="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</A><BR># for a list of sorts. But browsers support few.<BR>#<BR>AddCharset GB2312&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .gb2312 .gb <BR>AddCharset utf-7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .utf7<BR>AddCharset utf-8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .utf8<BR>AddCharset big5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .big5 .b5<BR>AddCharset EUC-TW&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .euc-tw<BR>AddCharset EUC-JP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .euc-jp<BR>AddCharset EUC-KR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .euc-kr<BR>AddCharset shift_jis&nbsp;&nbsp; .sjis</DIV>
<DIV class=RTE>#<BR># AddType allows you to add to or override the MIME configuration<BR># file mime.types for specific file types.<BR>#<BR>AddType application/x-tar .tgz<BR>AddType image/x-icon .ico</DIV>
<DIV class=RTE>#<BR># AddHandler allows you to map certain file extensions to "handlers":<BR># actions unrelated to filetype. These can be either built into the server<BR># or added with the Action directive (see below)<BR>#<BR># To use CGI scripts outside of ScriptAliased directories:<BR># (You will also need to add "ExecCGI" to the "Options" directive.)<BR>#<BR>#AddHandler cgi-script .cgi</DIV>
<DIV class=RTE>#<BR># For files that include their own HTTP headers:<BR>#<BR>#AddHandler send-as-is asis</DIV>
<DIV class=RTE>#<BR># For server-parsed imagemap files:<BR>#<BR>#AddHandler imap-file map</DIV>
<DIV class=RTE>#<BR># For type maps (negotiated resources):<BR># (This is enabled by default to allow the Apache "It Worked" page<BR>#&nbsp; to be distributed in multiple languages.)<BR>#<BR>AddHandler type-map var</DIV>
<DIV class=RTE>#<BR># Filters allow you to process content before it is sent to the client.<BR>#<BR># To parse .shtml files for server-side includes (SSI):<BR># (You will also need to add "Includes" to the "Options" directive.)<BR>#<BR>#AddType text/html .shtml<BR>#AddOutputFilter INCLUDES .shtml</DIV>
<DIV class=RTE>#<BR># Action lets you define media types that will execute a script whenever<BR># a matching file is called. This eliminates the need for repeated URL<BR># pathnames for oft-used CGI file processors.<BR># Format: Action media/type /cgi-script/location<BR># Format: Action handler-name /cgi-script/location<BR>#</DIV>
<DIV class=RTE>#<BR># Customizable error responses come in three flavors:<BR># 1) plain text 2) local redirects 3) external redirects<BR>#<BR># Some examples:<BR>#ErrorDocument 500 "The server made a boo boo."<BR>#ErrorDocument 404 /missing.html<BR>#ErrorDocument 404 "/cgi-bin/missing_handler.pl"<BR>#ErrorDocument 402 <A href="http://www.example.com/subscription_info.html">http://www.example.com/subscription_info.html</A><BR>#</DIV>
<DIV class=RTE>#<BR># Putting this all together, we can internationalize error responses.<BR>#<BR># We use Alias to redirect any /error/HTTP_&lt;error&gt;.html.var response to<BR># our collection of by-error message multi-language collections.&nbsp; We use <BR># includes to substitute the appropriate text.<BR>#<BR># You can modify the messages' appearance without changing any of the<BR># default HTTP_&lt;error&gt;.html.var files by adding the line:<BR>#<BR>#&nbsp;&nbsp; Alias /error/include/ "/your/include/path/"<BR>#<BR># which allows you to create your own set of files by starting with the<BR># @exp_errordir@/include/ files and copying them to /your/include/path/, <BR># even on a per-VirtualHost basis.&nbsp; The default include files will display<BR># your Apache version number and your ServerAdmin email address regardless<BR># of the setting of ServerSignature.<BR>#<BR># The internationalized error documents require mod_alias, mod_include<BR># and mod_negotiation.&nbsp; To activate them, uncomment the following 30 lines.</DIV>
<DIV class=RTE>#&nbsp;&nbsp;&nbsp; Alias /error/ "@exp_errordir@/"<BR>#<BR>#&nbsp;&nbsp;&nbsp; &lt;Directory "@exp_errordir@"&gt;<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options IncludesNoExec<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddOutputFilter Includes html<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddHandler type-map var<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Order allow,deny<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow from all<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LanguagePriority en cs de es fr it nl sv pt-br ro<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ForceLanguagePriority Prefer Fallback<BR>#&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<BR>#<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 410 /error/HTTP_GONE.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var<BR>#&nbsp;&nbsp;&nbsp; ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>#<BR># The following directives modify normal HTTP response behavior to<BR># handle known problems with browser implementations.<BR>#<BR>BrowserMatch "Mozilla/2" nokeepalive<BR>BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0<BR>BrowserMatch "RealPlayer 4\.0" force-response-1.0<BR>BrowserMatch "Java/1\.0" force-response-1.0<BR>BrowserMatch "JDK/1\.0" force-response-1.0</DIV>
<DIV class=RTE>#<BR># The following directive disables redirects on non-GET requests for<BR># a directory that does not include the trailing slash.&nbsp; This fixes a <BR># problem with Microsoft WebFolders which does not appropriately handle <BR># redirects for folders with DAV methods.<BR># Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.<BR>#<BR>BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully<BR>BrowserMatch "^WebDrive" redirect-carefully<BR>BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully<BR>BrowserMatch "^gnome-vfs" redirect-carefully</DIV>
<DIV class=RTE>#<BR># Allow server status reports generated by mod_status,<BR># with the URL of <A href="http://servername/server-status">http://servername/server-status</A><BR># Change the ".XXXX.com" to match your domain to enable.<BR>#<BR>#&lt;Location /server-status&gt;<BR>#&nbsp;&nbsp;&nbsp; SetHandler server-status<BR>#&nbsp;&nbsp;&nbsp; Order deny,allow<BR>#&nbsp;&nbsp;&nbsp; Deny from all<BR>#&nbsp;&nbsp;&nbsp; Allow from .XXXX.com<BR>#&lt;/Location&gt;</DIV>
<DIV class=RTE>#<BR># Allow remote server configuration reports, with the URL of<BR>#&nbsp; <A href="http://servername/server-info">http://servername/server-info</A> (requires that mod_info.c be loaded).<BR># Change the ".XXXX.com" to match your domain to enable.<BR>#<BR>#&lt;Location /server-info&gt;<BR>#&nbsp;&nbsp;&nbsp; SetHandler server-info<BR>#&nbsp;&nbsp;&nbsp; Order deny,allow<BR>#&nbsp;&nbsp;&nbsp; Deny from all<BR>#&nbsp;&nbsp;&nbsp; Allow from .XXXX.com<BR>#&lt;/Location&gt;</DIV>
<DIV class=RTE><BR>#<BR># Bring in additional module-specific configurations<BR>#<BR>&lt;IfModule mod_ssl.c&gt;<BR>&nbsp;&nbsp;&nbsp; Include conf/ssl.conf<BR>&lt;/IfModule&gt;</DIV>
<DIV class=RTE><BR>### Section 3: Virtual Hosts<BR>#<BR># VirtualHost: If you want to maintain multiple domains/hostnames on your<BR># machine you can setup VirtualHost containers for them. Most configurations<BR># use only name-based virtual hosts so the server doesn't need to worry about<BR># IP addresses. This is indicated by the asterisks in the directives below.<BR>#<BR># Please see the documentation at <BR># &lt;<A href="http://httpd.apache.org/docs-2.0/vhosts/">URL:http://httpd.apache.org/docs-2.0/vhosts/</A>&gt;<BR># for further details before you try to setup virtual hosts.<BR>#<BR># You may use the command line option '-S' to verify your virtual host<BR># configuration.</DIV>
<DIV class=RTE>#<BR># Use name-based virtual hosting.<BR>#<BR>#NameVirtualHost *</DIV>
<DIV class=RTE>#<BR># VirtualHost example:<BR># Almost any Apache directive may go into a VirtualHost container.<BR># The first VirtualHost section is used for requests without a known<BR># server name.<BR>#<BR>#&lt;VirtualHost *&gt;<BR>#&nbsp;&nbsp;&nbsp; ServerAdmin <A href="mailto:webmaster@dummy-host.example.com">webmaster@dummy-host.example.com</A><BR>#&nbsp;&nbsp;&nbsp; DocumentRoot /www/docs/dummy-host.example.com<BR>#&nbsp;&nbsp;&nbsp; ServerName dummy-host.example.com<BR>#&nbsp;&nbsp;&nbsp; ErrorLog logs/dummy-host.example.com-error_log<BR>#&nbsp;&nbsp;&nbsp; CustomLog logs/dummy-host.example.com-access_log common<BR>#&lt;/VirtualHost&gt;<BR>&nbsp;</DIV>
<DIV class=RTE>If i check sintax of the file it seems to be all ok.Were is my mistake?</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Any help will be aprecieted</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Helen</DIV></DIV></div><br clear=all><hr>Fed up of receiving junk e-mail? Find out how to deal with  <a href="http://g.msn.com/8HMBENUK/2752??PS=47575" target="_top">spam here.</a> </html>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message