Re: Verhalten von Option +Indexes und rewriterule
Am 21.08.2010 12:36, schrieb Max Dittrich: Hi, On 20.08.2010 09:14, Tobias Hensel wrote: [..] Ich habe im Verzeichnis /download folgende .htaccess Datei erstellt. --- Options +Indexes RewriteEngine On RewriteBase /download RewriteRule ^/$ - [F] --- Das funktioniert jedoch nicht. Rufe ich meinserver.tld/download auf erhalte ich ein Directorylisting. Entferne ich Options +Indexes funktioniert es wie gewünscht sprich der Zugriff aus das Verzeichnis wird gesperrt. Naja, der Zugriff ist dadurch nicht gesperrt. Der Nutzer muss halt die Inhalte erraten. Schon klar, aber ich muss ihm die Inhalte ja nicht auf dem Silbertablett präsentieren. Warum legst Du in download nicht einfach eine leere index.html an? Falls Du unbedingt irgendeine Fehlermedung haben willst könntest Du noch der index.html die Leserechte entziehen (oO). Genau so eine Option fiel mir natürlich nicht ein... Danke! Grüsse, .max -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an users-de-unsubscr...@httpd.apache.org sonstige Anfragen an users-de-h...@httpd.apache.org -- -- Apache HTTP Server Mailing List users-de unsubscribe-Anfragen an users-de-unsubscr...@httpd.apache.org sonstige Anfragen an users-de-h...@httpd.apache.org --
[us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
Hello Team, I have recently installed apache 2.0.63 on solaris 5.10. I have compiled all the modules. Now, I am unable to start the apache server as receiving following error on the prompt. Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration. Apache Installation Command :- ./configure --prefix=/opt/app/ccr/home/ccr/Apache --enable-auth-dbm --enable-charset-lite --enable-cache --enable-disk-cache --enable-memo-cache --enable-case-filter-in - -enable-expires --enable-mime-magic --enable-headers --enable-usertrack --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-ssl --enable-cgi -- enable-cgid --enable-speling --enable-rewrite --enable-vhost-alias --enable-dav --enable-dav-fs --enable-deflate --enable-ext-filter --enable-mem-cache --enable-case-filter --en able-cern-meta --enable-info --enable-mods-shared=all List of modules which are loaded in httpd.conf file. LoadModule dir_module modules/mod_dir.so LoadModule access_module modules/mod_access.so LoadModule auth_module modules/mod_auth.so LoadModule auth_anon_module modules/mod_auth_anon.so LoadModule auth_dbm_module modules/mod_auth_dbm.so LoadModule auth_digest_module modules/mod_auth_digest.so LoadModule charset_lite_module modules/mod_charset_lite.so LoadModule cache_module modules/mod_cache.so LoadModule disk_cache_module modules/mod_disk_cache.so LoadModule mem_cache_module modules/mod_mem_cache.so LoadModule case_filter_module modules/mod_case_filter.so LoadModule case_filter_in_module modules/mod_case_filter_in.so LoadModule ext_filter_module modules/mod_ext_filter.so LoadModule include_module modules/mod_include.so LoadModule deflate_module modules/mod_deflate.so LoadModule log_config_module modules/mod_log_config.so LoadModule log_forensic_module modules/mod_log_forensic.so LoadModule env_module modules/mod_env.so LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule cern_meta_module modules/mod_cern_meta.so LoadModule expires_module modules/mod_expires.so LoadModule headers_module modules/mod_headers.so LoadModule usertrack_module modules/mod_usertrack.so LoadModule unique_id_module modules/mod_unique_id.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule version_module modules/mod_version.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so #LoadModule ssl_module modules/mod_ssl.so LoadModule mime_module modules/mod_mime.so LoadModule dav_module modules/mod_dav.so LoadModule status_module modules/mod_status.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule asis_module modules/mod_asis.so LoadModule info_module modules/mod_info.so LoadModule cgi_module modules/mod_cgi.so LoadModule cgid_module modules/mod_cgid.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule imap_module modules/mod_imap.so LoadModule actions_module modules/mod_actions.so LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so kindly assist me to troubleshoot this issue and let me know in case more details are required.
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
On Tue, August 24, 2010 08:29, Amol Puglia wrote: Hello Team, I have recently installed apache 2.0.63 on solaris 5.10. I have compiled all the modules. Now, I am unable to start the apache server as receiving following error on the prompt. Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration. You have a line 'includes/log.std' in your configuration, which isn't a valid configuration command. You probably want to change this to 'Include includes/log.std'. Joost - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
Hello Joost, Thanks for your response. I am loading the file in the same way as mentioned by you in the last response. I am still receiving same error. Include includes/httpd2.std Syntax error on line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std: Invalid command '/opt/app/ccr/home/ccr/Apache/includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration --- On Tue, 8/24/10, Joost de Heer jo...@sanguis.xs4all.nl wrote: From: Joost de Heer jo...@sanguis.xs4all.nl Subject: Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration To: users@httpd.apache.org Date: Tuesday, August 24, 2010, 12:11 PM On Tue, August 24, 2010 08:29, Amol Puglia wrote: Hello Team, I have recently installed apache 2.0.63 on solaris 5.10. I have compiled all the modules. Now, I am unable to start the apache server as receiving following error on the prompt. Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration. You have a line 'includes/log.std' in your configuration, which isn't a valid configuration command. You probably want to change this to 'Include includes/log.std'. Joost - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
On Tue, August 24, 2010 09:29, Amol Puglia wrote: Hello Joost, Thanks for your response. I am loading the file in the same way as mentioned by you in the last response. I am still receiving same error. Include includes/httpd2.std Syntax error on line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std: Invalid command '/opt/app/ccr/home/ccr/Apache/includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration And what is line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std? Joost - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
Hello Joost, It is a file which is loading all the configuration files. The file contains the following lines. #/opt/app/ccr/home/ccr/Apache/includes/performance2.std /opt/app/ccr/home/ccr/Apache/includes/log.std /opt/app/ccr/home/ccr/Apache/includes/negotiate.std /opt/app/ccr/home/ccr/Apache/includes/security.std /opt/app/ccr/home/ccr/Apache/includes/alias.std /opt/app/ccr/home/ccr/Apache/includes/indexes2.std --- On Tue, 8/24/10, Joost de Heer jo...@sanguis.xs4all.nl wrote: From: Joost de Heer jo...@sanguis.xs4all.nl Subject: Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration To: users@httpd.apache.org Date: Tuesday, August 24, 2010, 1:13 PM On Tue, August 24, 2010 09:29, Amol Puglia wrote: Hello Joost, Thanks for your response. I am loading the file in the same way as mentioned by you in the last response. I am still receiving same error. Include includes/httpd2.std Syntax error on line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std: Invalid command '/opt/app/ccr/home/ccr/Apache/includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration And what is line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std? Joost - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
Hi, in front of each line, you should add Include directive. It is working like from httpd.conf Include somefile, from somefile Include somefile2, etc ... mh On Tue, Aug 24, 2010 at 9:55 AM, Amol Puglia amolcpug...@yahoo.com wrote: Hello Joost, It is a file which is loading all the configuration files. The file contains the following lines. #/opt/app/ccr/home/ccr/Apache/includes/performance2.std /opt/app/ccr/home/ccr/Apache/includes/log.std /opt/app/ccr/home/ccr/Apache/includes/negotiate.std /opt/app/ccr/home/ccr/Apache/includes/security.std /opt/app/ccr/home/ccr/Apache/includes/alias.std /opt/app/ccr/home/ccr/Apache/includes/indexes2.std --- On *Tue, 8/24/10, Joost de Heer jo...@sanguis.xs4all.nl* wrote: From: Joost de Heer jo...@sanguis.xs4all.nl Subject: Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration To: users@httpd.apache.org Date: Tuesday, August 24, 2010, 1:13 PM On Tue, August 24, 2010 09:29, Amol Puglia wrote: Hello Joost, Thanks for your response. I am loading the file in the same way as mentioned by you in the last response. I am still receiving same error. Include includes/httpd2.std Syntax error on line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std: Invalid command '/opt/app/ccr/home/ccr/Apache/includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration And what is line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std? Joost - 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-unsubscr...@httpd.apache.orghttp://mc/compose?to=users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.orghttp://mc/compose?to=users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.orghttp://mc/compose?to=users-h...@httpd.apache.org
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
On Tue, August 24, 2010 09:55, Amol Puglia wrote: Hello Joost, It is a file which is loading all the configuration files. Include files don't work that way. The included file itself should contain valid configuration options, not a list of files to be included. If you want to include multiple files, you can use wildcard includes, e.g. 'Include /opt/app/ccr/home/ccr/Apache/includes/*.std' (after deleting httpd2.std, because you won't need this file). Joost - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
Hello Joost, Thanks for your prompt response. I am able to start apache server now after including include before each line i.e include /opt/app/ccr/home/ccr/Apache/includes/performance2.std include /opt/app/ccr/home/ccr/Apache/includes/log.std include /opt/app/ccr/home/ccr/Apache/includes/negotiate.std include /opt/app/ccr/home/ccr/Apache/includes/security.std #include /opt/app/ccr/home/ccr/Apache/includes/alias.std include /opt/app/ccr/home/ccr/Apache/includes/indexes2.std Thanks once again. --- On Tue, 8/24/10, Joost de Heer jo...@sanguis.xs4all.nl wrote: From: Joost de Heer jo...@sanguis.xs4all.nl Subject: Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration To: users@httpd.apache.org Date: Tuesday, August 24, 2010, 2:39 PM On Tue, August 24, 2010 09:55, Amol Puglia wrote: Hello Joost, It is a file which is loading all the configuration files. Include files don't work that way. The included file itself should contain valid configuration options, not a list of files to be included. If you want to include multiple files, you can use wildcard includes, e.g. 'Include /opt/app/ccr/home/ccr/Apache/includes/*.std' (after deleting httpd2.std, because you won't need this file). Joost - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration
Hello Martin, Thanks a lot for your prompt response and help. I am able to start apache after adding include before each line. include /opt/app/ccr/home/ccr/Apache/includes/performance2.std include /opt/app/ccr/home/ccr/Apache/includes/log.std include /opt/app/ccr/home/ccr/Apache/includes/negotiate.std include /opt/app/ccr/home/ccr/Apache/includes/security.std #include /opt/app/ccr/home/ccr/Apache/includes/alias.std include /opt/app/ccr/home/ccr/Apache/includes/indexes2.std Thanks once again!!! --- On Tue, 8/24/10, Martin Hasicek martin.hasi...@gmail.com wrote: From: Martin Hasicek martin.hasi...@gmail.com Subject: Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration To: users@httpd.apache.org Date: Tuesday, August 24, 2010, 1:29 PM Hi, in front of each line, you should add Include directive. It is working like from httpd.conf Include somefile, from somefile Include somefile2, etc ... mh On Tue, Aug 24, 2010 at 9:55 AM, Amol Puglia amolcpug...@yahoo.com wrote: Hello Joost, It is a file which is loading all the configuration files. The file contains the following lines. #/opt/app/ccr/home/ccr/Apache/includes/performance2.std /opt/app/ccr/home/ccr/Apache/includes/log.std /opt/app/ccr/home/ccr/Apache/includes/negotiate.std /opt/app/ccr/home/ccr/Apache/includes/security.std /opt/app/ccr/home/ccr/Apache/includes/alias.std /opt/app/ccr/home/ccr/Apache/includes/indexes2.std --- On Tue, 8/24/10, Joost de Heer jo...@sanguis.xs4all.nl wrote: From: Joost de Heer jo...@sanguis.xs4all.nl Subject: Re: [us...@httpd] Invalid command includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration To: users@httpd.apache.org Date: Tuesday, August 24, 2010, 1:13 PM On Tue, August 24, 2010 09:29, Amol Puglia wrote: Hello Joost, Thanks for your response. I am loading the file in the same way as mentioned by you in the last response. I am still receiving same error. Include includes/httpd2.std Syntax error on line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std: Invalid command '/opt/app/ccr/home/ccr/Apache/includes/log.std', perhaps mis-spelled or defined by a module not included in the server configuration And what is line 2 of /opt/app/ccr/home/ccr/Apache/includes/httpd2.std? Joost - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Basic authentication not working
Server version: Apache/2.2.16 (Unix) - running on Ubuntu 10.04 I am trying to protect a directory using basic authentication and the user is being continuously prompted for the password but it is never accepted - Apache logs message similar to below:- [Tue Aug 24 11:23:14 2010] [error] [client xx.xx.xx.xx] user username: authentication failure for /path/to/script.php: Password Mismatch, referer: http://www.example.com/path/to/index.php .htaccess directives are below:- AuthUserFile /path/to/.htpasswd AuthType Basic AuthName Restricted Area Require valid-user These are the checks I have done:- 1) Ensured the password is correctly stored in /path/to/.htpasswd (tried with both crypt and MD5 encryption) 2) Both .htaccess and .htpasswd have read perms for the web process (files owned by root with -rw-r-r- permissions) 3) All directories above the location of the .htpasswd and .htaccess files have 755 permissions i.e. drwxr-x-rx 4) This is the list of modules loaded by Apache:- Loaded Modules: core_module (static) authn_file_module (static) authn_default_module (static) authz_host_module (static) authz_groupfile_module (static) authz_user_module (static) authz_default_module (static) auth_basic_module (static) include_module (static) filter_module (static) deflate_module (static) log_config_module (static) env_module (static) setenvif_module (static) version_module (static) mpm_prefork_module (static) http_module (static) mime_module (static) status_module (static) autoindex_module (static) asis_module (static) cgi_module (static) negotiation_module (static) dir_module (static) actions_module (static) userdir_module (static) alias_module (static) rewrite_module (static) so_module (static) php5_module (shared) Syntax OK Anybody have any ideas/suggestions? Many thanks in advance Rich - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Basic authentication not working
On Tue, Aug 24, 2010 at 7:33 AM, rich ric...@gmail.com wrote: Server version: Apache/2.2.16 (Unix) - running on Ubuntu 10.04 I am trying to protect a directory using basic authentication and the user is being continuously prompted for the password but it is never accepted - Apache logs message similar to below:- [Tue Aug 24 11:23:14 2010] [error] [client xx.xx.xx.xx] user username: authentication failure for /path/to/script.php: Password Mismatch, referer: http://www.example.com/path/to/index.php are there any non US-ASCII chars in the password? -- Eric Covener cove...@gmail.com - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] How to redirect ?
On 20.08.10 12:14, Mark Smits wrote: This is going to be a vey very dumb question, so apologies up front. Using WinAMP with Apache 2.2.11. winamp? Don't you mean wamp? I need redirections based on host name. Host1, host2 and host3 all are the same server host1 should be staying at host1 at the same port host2 should be redirected to host2 but different port host3 should be redirceted to host3 but antoher different port. well, just define three virtual hosts where host2 and host3 will have redirect directive in VirtualHost section, or in .htaccess in DocumentRoot. So for example http://host2/ http://host2:6405/InfoViewApp/logon.jsp VirtualHost IP ServerName host2 Redirect temp / http://host2:6405/InfoViewApp/logon.jsp /VirtualHost and if those hosts share the same IP, you must have NameVirtualHost IP directive in your config. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. I intend to live forever - so far so good. - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] rewrite redirect advise
On 20.08.10 15:16, Norman Khine wrote: i have a drupal site within which there is a folder with wordpress so http://mysite/blog loads the wordpress. i want to take this out completely so the http://blog.mysite is in its own vhost is it possible in for the http://mysite to add a rewirite so that if a user types http://mysite.com/blog it is rewritten to http://blog.mysite.com I think that simple directive should work: Redirect temp /blog http://blog.mysite.com/ Well, if you expect people put anything after the /blog, this will redirect /blogger to blog.mysite.comger , to avoid this you can use: RedirectMatch temp ^/blog$ http://blog.mysite.com/ RedirectMatch temp ^/blog/(.*) http://blog.mysite.com/$1 I hope it's clear enough. i have this: # Various rewrite rules. IfModule mod_rewrite.c RewriteCond %{HTTP_HOST} ^mysite\.com\/blog$ [NC] the HTTP Host: will NEVER contain the /blog part. RewriteRule ^(.*)$ http://blog.mysite.com$1 [L,R=301] is this correct way to do this? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. If Barbie is so popular, why do you have to buy her friends? - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Basic authentication not working
On 24/08/2010 14:37, Eric Covener wrote: On Tue, Aug 24, 2010 at 7:33 AM, richric...@gmail.com wrote: are there any non US-ASCII chars in the password? No - just US ASCII characters i.e. [a-z,A-Z,0-9] - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] How to disable URL encoding filename or link
On 8/15/2010 12:15 AM, 3819...@gmail.com wrote: Hello all, I upload files with FTP. It has Windows-874 characters in the filenames. If this is a win32 server, you only thought it does. All file names on Windows are Unicode. Use the UTF-8 form of the name for all links, this is how httpd looks at file names. Hint: To get the correct encoding, enable Options Indexes and omit the index.html file from a /test/ area on the site, and you'll see the literal file name representations. If the files are hosted on unix, the character set is opaque (undefined) so you results will differ. - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Silent Installation Windows XP (Prevent Start Menu Items)
On 8/16/2010 10:36 PM, dev wrote: Hello, I am thrilled to finally get the correct parameters to run a complete silent installation of Apache HTTP 2.2 web server. I got the correct MSI switches from the Archive from previous posts in this forum. However, I still have troubles figuring out how to instruct the installer to not create the start menu items for Apache under Program Files. If you would review http://httpd.apache.org/docs/trunk/platform/windows.html#advinst and comment if you find any errors, I'm happy to look at your question in light of redoing the installer with WiX. - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Redirection based on HTTP Host header
On 8/19/2010 6:37 PM, pratyoosh sharma wrote: You can use mod_rewrite to detect a HTTP Header, compare the value redirect to a local port if the condition is satisfied RewriteCond %{HTTP:HTTP_X_SOMEHEADER} RewriteRule ^/(.*)$ http://127.0.0.1:14333/$1 [P,L] See also mod_vhost_alias - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache 2.2.15 memory usage
On 8/20/2010 5:42 AM, MegaBrutal wrote: Sorry, I was wrong. MaxSpareServers is only available in the prefork MPM module. Windows binaries on the other hand are compiled with mpm_winnt: http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html Look up MaxMemFree, MaxRequestsPerChild, ThreadLimit, ThreadsPerChild directives. All of these are available in mpm_winnt and allow you to fine tune Apache's memory consumption. Given the problem description, MaxMemFree should work well to bring things back in line. If using MaxRequestsPerChild, remember it will interrupt the server completely for a short time (as it restarts) each time that limit is hit, so set it upwards of 10 connections per child. - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] how to needed for apache
Also note, there are dozens of books on Apache httpd, several of them neatly updated for httpd version 2.2 - check them out. Several were written by httpd contributors themselves (see http://httpd.apache.org/contributors/ if you want to compare your book list to the actual httpd authors). On 8/22/2010 9:40 AM, Rich Bowen wrote: If you wish to contribute to the httpd docs in any way the place to be is d...@httpd.apache.org mailto:d...@httpd.apache.org New content, and improvements to existing content, are always welcome. On Aug 21, 2010, at 9:49 AM, James Godrej wrote: Yes Rich. Sorry for me be so annoying to this list. But I am looking for some thing specific. When I started with Apache I was a complete newbie I did read the complete Apache2.2 documentation. Believe me I could not make things work. There should be some page that can serve newbies like me. Let me know I can write some thing for Apache. *From:* Rich Bowen rbo...@rcbowen.com mailto:rbo...@rcbowen.com *To:* users@httpd.apache.org mailto:users@httpd.apache.org *Sent:* Fri, 20 August, 2010 7:26:37 PM *Subject:* Re: [us...@httpd] how to needed for apache The howtos, located in http://httpd.apache.org/docs/current/howto/ are part of the technical reference documentation. I wrote most of them, but they are maintained by the entire documentation team. Is there something specific you're looking for a howto on? On Aug 18, 2010, at 12:41 PM, James Godrej wrote: I am looking for some good how to's if maintained by Apache foundation. Some time ago I was told that the documents here are just technical references. Can any one tell who maintains how to's for Apache. -- Rich Bowen rbo...@rcbowen.com mailto:rbo...@rcbowen.com -- Rich Bowen rbo...@rcbowen.com mailto:rbo...@rcbowen.com - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Re: how to needed for apache
Thanks for the update Williams.But I wont be buying any books. I will write some document let my work finish here. There are a lot of basic things missing.
Re: [us...@httpd] Fw: failure notice
Yes. It's an active list. Try sending non-HTML mail. On Aug 23, 2010, at 10:22 PM, James Godrej wrote: I tried to subscribe but it bounced? Is it active list? - Forwarded Message From: mailer-dae...@n10.bullet.mail.in.yahoo.com mailer-dae...@n10.bullet.mail.in.yahoo.com To: jamesgod...@yahoo.in Sent: Mon, 23 August, 2010 11:17:16 PM Subject: failure notice Sorry, we were unable to deliver your message to the following address. d...@httpd.apache.org: Remote host said: 552 spam score (6.9) exceeded threshold [BODY] --- Below this line is a copy of the message. Received: from [202.86.5.124] by n10.bullet.mail.in.yahoo.com with NNFMP; 23 Aug 2010 17:46:47 - Received: from [203.104.17.88] by t4.bullet.mail.in.yahoo.com with NNFMP; 23 Aug 2010 17:46:47 - Received: from [127.0.0.1] by omp102.mail.in2.yahoo.com with NNFMP; 23 Aug 2010 17:46:47 - X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 103339.20350...@omp102.mail.in2.yahoo.com Received: (qmail 1237 invoked by uid 60001); 23 Aug 2010 17:46:46 - DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1282585606; bh=tD3FkVC1o1GSJnHB3T6w +TMrIZRjWsF6kdxxTp3IgE4=; h=Message-ID:X-YMail-OSG:Received:X- Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Mv + z9VEruEuhyxTCKjIjBobgjEPNwRWcbFvAVYffbxzfnI0hdSWLhcJ0lnnvbX52C1JDceFkE8qfzsc5LhYYZh1WbfjEihj7FIoML1l3qev1JNjYm1NCRmOAb4MROIUHOL8OaK8NLMvXa3MWp +/crWSFM9pY2w7t14eQTtvV2tA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.in; h=Message-ID:X-YMail-OSG:Received:X- Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=CuuQsyLGkhu5735hdHzw7a2MXc5nwj8aJKtGjdggWgKFs0EG2T+M1O270mi+ +NZiffqBZXdpPq42EYRv4ifWJlWDtOYjUcniylGPUPuMDXdUjRpsT9LBbHi/ XKHLw6dmDJ6YEaNsq23eN7i4XgeF9cXcV0haJi6H57lxN5SOLo0= ; Message-ID: 892696.798...@web95603.mail.in.yahoo.com X-YMail-OSG: xGoVGKoVM1lp5bgm81YTEEVE50xeQOF6wsz8Ku0i9PtUQKH .tKZm2B3Km1VllGJDFdL7A8XpTB433BakutjuSMmRMF78AEIPiYNVNioxUgR iiaUCmuWabiW6RKbpwmWtU_sN.TqgHycPDO5U.k6dkGufyFUyfm8Ytp7x.RW hsXDwJU3Hnxh4ARZxiUv7J6SwkMtTpaftpgqk Received: from [122.167.21.32] by web95603.mail.in.yahoo.com via HTTP; Mon, 23 Aug 2010 23:16:46 IST X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 Date: Mon, 23 Aug 2010 23:16:46 +0530 (IST) From: James Godrej jamesgod...@yahoo.in Subject: subscribe To: d...@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=0-184027519-1282585606=:798 --0-184027519-1282585606=:798 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A=0A=0A --0-184027519-1282585606=:798 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable htmlheadstyle type=3Dtext/css!-- DIV {margin:0px;} --/ style/he= adbodydiv style=3Dfont-family:times new roman,new york,times,serif;fon= t-size:12ptdivbr/div=0A/divbr/body/html --0-184027519-1282585606=:798-- -- Rich Bowen rbo...@rcbowen.com
[us...@httpd] Apache with chroot + fcgid php wrapper
Hi, this is what i'm trying to do, a chrooted apache install,so, i've setup /webroot with var/log var/lib etc tmp etc.. I've got apache running fine, i've changed its pid file etc. Now the troubles are working on fcgid, so, i've copied necessaried libraries, executables, created socket path inside the dir and the php wrapper.. Now, here are my problems, if i set the php wrapper into the virtualhost, i set the path inside the jail (for example, if it's /jail/var/www, i put /var/www as for docroot that i set /var/www and it works with /jail/var/www) but it don't works, it says. [Tue Aug 24 05:36:40 2010] [notice] mod_fcgid: call /var/www/index.php with wrapper /var/www/php5.cgi [Tue Aug 24 05:36:40 2010] [warn] [client 127.0.0.1] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Tue Aug 24 05:36:40 2010] [error] [client 127.0.0.1] Premature end of script headers: index.php [Tue Aug 24 05:36:43 2010] [notice] mod_fcgid: process /var/www/index.php(14815) exit(communication error), terminated by calling exit(), return code: 255 but if i run chroot /jail/ /usr/bin/php5-cgi it works fine, so, the jail works, but it seems that the fcgid script it's runned outside (because i have to set path to /jail/var/www) and also because it not wotks with jailed php. Any idea? - 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-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org