[EMAIL PROTECTED] httpd.conf character encoding
Hi, Which character encoding does httpd uses when reading httpd.conf? And a related question, if I want to alias a URL containing some UCS characters, am I supposed to use UTF-8 or percent-escaped UTF-8 in the corresponding "Alias" directive? Thank you, Vasiliy - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf file configuration for
Tomcat User6 wrote: hi, I am having a problem in configuring the tab in httpd.cong file fro apache web server. I have my application deployed on Tomcat 6.0 server with below configuration in server.xml. The application is deployed at Tomcat's webapps directory "/usr/local/apache-tomcat-6.0.16/webapps" under roller directory. My website uses the apache server so first when I typed "http://forum.dev.abc.com/roller/"; on web browser the action will go to Tomcat server to run application. Each request is made on apache server and and requested to tomcat server. My apache server's httpd.conf file's configuration is as below: # NameVirtualHost forum.dev.abc.com:80 ServerName forum.dev.abc.com ServerAlias forum.dev.abc.com DocumentRoot /usr/local/apache-tomcat-6.0.16/webapps DirectoryIndex index.jsp ErrorLog logs/forum_error_log Options FollowSymLinks AllowOverride all Order allow,deny Allow from all JkMount /*.jsp wrkr JkMount /*.do wrkr JkMount /*.action wrkr my problem is when I typed at browser as "http://forum.dev.abc.com:8080/roller/"; then as it is running on Tomcat it works fine. each and every actions and links are working fine. but when I typed in "http://forum.dev.abc.com:80/roller/"; or "http://forum.dev.abc.com/roller/"; at browser then as it is running on apache server and redirecting all requests to tomcat No, it is probably not. Because the DocumentRoot of Apache is (also) /usr/local/apache-tomcat-6.0.16/webapps it is probably Apache which is going to serve your first index page, not Tomcat. the links are not working. The first page loaded same for both the requests No, they are probably not being loaded in the same way. When you enter http://forum.dev.abc.com:8080/roller/ it is Tomcat that serves the index page, according to the logic of the webapp. But when you enter http://forum.dev.abc.com/roller/ then it is Apache serving the index page, and it completely bypasses Tomcat (and the jsp processing, and the Tomcat security). but links on first page is not working on apache server i.e. working on tomcat server. I am pretty much sure that its a problem with configuration with httpd.conf file for . If you help me out with this, this will be a great help. I believe there are a couple of mistakes in your configuration above. First, because your DocumentRoot is set to the the top of the webapps directory of Tomcat, it means that all your webapp configuration files are visible to the world. Try for example : http://forum.dev.abc.com/roller/WEB-INF or http://forum.dev.abc.com/roller/WEB-INF/web.xml I would redo this as follows : 1) create a new, empty directory /var/www/forum-dev/docs, and give it r+x permissions for the user:group which is used to run Apache. (www-data ?). 2) httpd.conf : ... NameVirtualHost *:80 ServerName forum.dev.abc.com # (Note : the ServerAlias is totally redundant, unless it is # different from the ServerName DocumentRoot /var/www/forum-dev/docs ErrorLog logs/forum_error_log DirectoryIndex index.jsp index.html # Protect your system's root directory !! Options None AllowOverride None Order allow,deny Deny from all # This is now the Apache DocumentRoot Options FollowSymLinks #AllowOverride All # are you sure ? Order allow,deny Allow from all SetHandler jakarta-servlet #SetEnvIf REQUEST_URI "\.(css|gif|jpg|js|html?)$" no-jk Some differences : 1) means your system disk's root directory. You don't want to give access to everyone to that one (and everything below it), do you ? 2) That is now the top directory that users can (possibly) see. You can put everything you want them to see under there (in sub-directories if you want), and it will be served directly by Apache. (Except if it is in a like /roller). 3) section : For all URLs that start with "/roller", Apache will pass this to mod_jk, and mod_jk to Tomcat. An alternative way to write this would be : JkMount *.jsp wrkr JkMount *.do wrkr JkMount *.action wrkr #JkUnMount *.css #JkUnMount *.gif #JkUnMount *.jpg or (no ) JkMount /roller wrkr JkMount /roller/* wrkr 4) Tomcat will always refuse to serve anything that is in a "WEB-INF" directory (but Apache does not care). Because the only place where there is a WEB-INF directory is under /roller, and everything under /roller goes through Tomcat, now /roller/WEB-INF/* is safe. 5) Because there is no directory /var/www/forum-dev/docs/roller, any URL starting with /roller must be either served by Tomcat, or else it will give a "Not Found" error. That is more secure than your previous configuration. Of course, the above is not tested. So save your current http configuration first. ;-) André ---
[EMAIL PROTECTED] httpd.conf file configuration for
hi, I am having a problem in configuring the tab in httpd.cong file fro apache web server. I have my application deployed on Tomcat 6.0 server with below configuration in server.xml. The application is deployed at Tomcat's webapps directory "/usr/local/apache-tomcat-6.0.16/webapps" under roller directory. My website uses the apache server so first when I typed "http://forum.dev.abc.com/roller/"; on web browser the action will go to Tomcat server to run application. Each request is made on apache server and and requested to tomcat server. My apache server's httpd.conf file's configuration is as below: # NameVirtualHost forum.dev.abc.com:80 ServerName forum.dev.abc.com ServerAlias forum.dev.abc.com DocumentRoot /usr/local/apache-tomcat-6.0.16/webapps DirectoryIndex index.jsp ErrorLog logs/forum_error_log Options FollowSymLinks AllowOverride all Order allow,deny Allow from all JkMount /*.jsp wrkr JkMount /*.do wrkr JkMount /*.action wrkr my problem is when I typed at browser as "http://forum.dev.abc.com:8080/roller/"; then as it is running on Tomcat it works fine. each and every actions and links are working fine. but when I typed in "http://forum.dev.abc.com:80/roller/"; or "http://forum.dev.abc.com/roller/"; at browser then as it is running on apache server and redirecting all requests to tomcat the links are not working. The first page loaded same for both the requests but links on first page is not working on apache server i.e. working on tomcat server. I am pretty much sure that its a problem with configuration with httpd.conf file for . If you help me out with this, this will be a great help. Thank you in advance. -- View this message in context: http://www.nabble.com/httpd.conf-file-configuration-for-%3CVirtualHost%3E%3C-VirtualHost%3E-tp18578272p18578272.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] httpd.conf shared modules
Hi all, I have asked this question before, but not with as much detail as I hope to provide below. FOr those who have read this before, feel free to skip/delete. I am running: Server version: Apache/2.2.3 Server built: Oct 27 2007 21:17:49 (Prefork) on FreeBSD 6.2 And am wondering which modules you think I can safely remove from the config. - I use .htaccess files, - I use php4 - I use mod_security - I use logio - I use ssl, - I use status, - I use info, but its currently remoarked out. - I use suexec, - I use alias, Sp I know I would want to keep the modules related to the functions abouve,. My question is, what ones of the remaining mods can I remove. (I am not sure what ones apache uses itself that I don't know about). # Dynamic Shared Object (DSO) Support LoadModule authn_file_module libexec/apache22/mod_authn_file.so LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so LoadModule authn_default_module libexec/apache22/mod_authn_default.so LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so LoadModule authz_host_module libexec/apache22/mod_authz_host.so LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so LoadModule authz_user_module libexec/apache22/mod_authz_user.so LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so LoadModule authz_default_module libexec/apache22/mod_authz_default.so LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so LoadModule file_cache_module libexec/apache22/mod_file_cache.so LoadModule cache_module libexec/apache22/mod_cache.so LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so LoadModule include_module libexec/apache22/mod_include.so LoadModule filter_module libexec/apache22/mod_filter.so LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so LoadModule deflate_module libexec/apache22/mod_deflate.so LoadModule log_config_module libexec/apache22/mod_log_config.so LoadModule logio_module libexec/apache22/mod_logio.so LoadModule env_module libexec/apache22/mod_env.so LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so LoadModule expires_module libexec/apache22/mod_expires.so LoadModule headers_module libexec/apache22/mod_headers.so LoadModule usertrack_module libexec/apache22/mod_usertrack.so LoadModule unique_id_module libexec/apache22/mod_unique_id.so LoadModule setenvif_module libexec/apache22/mod_setenvif.so LoadModule version_module libexec/apache22/mod_version.so LoadModule ssl_module libexec/apache22/mod_ssl.so LoadModule mime_module libexec/apache22/mod_mime.so # LoadModule dav_module libexec/apache22/mod_dav.so LoadModule status_module libexec/apache22/mod_status.so LoadModule autoindex_module libexec/apache22/mod_autoindex.so LoadModule asis_module libexec/apache22/mod_asis.so # LoadModule info_module libexec/apache22/mod_info.so LoadModule suexec_module libexec/apache22/mod_suexec.so LoadModule cgi_module libexec/apache22/mod_cgi.so # LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so LoadModule negotiation_module libexec/apache22/mod_negotiation.so LoadModule dir_module libexec/apache22/mod_dir.so LoadModule imagemap_module libexec/apache22/mod_imagemap.so LoadModule actions_module libexec/apache22/mod_actions.so LoadModule speling_module libexec/apache22/mod_speling.so LoadModule userdir_module libexec/apache22/mod_userdir.so LoadModule alias_module libexec/apache22/mod_alias.so LoadModule rewrite_module libexec/apache22/mod_rewrite.so LoadModule speedycgi_module libexec/apache22/mod_speedycgi.so LoadModule security2_module libexec/apache22/mod_security2.so LoadModule php4_modulelibexec/apache22/libphp4.so TIA, -Grant - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Httpd.conf issue
Hello, Guys i was wondering if we can wright a script to tell the clients whom requests can not be served by apache before the MaxClients reach its maximum limits by a little bit ( to prevent apache from hanging out), thats their requests cant be handled now, try again after a while Is it depends on the apache sessions opened, TCP requests from a specific IP address?? Regards, RN
Re: [EMAIL PROTECTED] httpd.conf
There are commercial tools from Mercury and BMC that will monitor a web sites health, but they aren't cheap. If you simply want to see if its alive, you could use an application server to send an HTTP request like GET / and test to make sure you get a response and that the status is 200 ok and if it doesnt respond or sends something other than 200 Ok the process could e-mail or page someboday. I wouldn't use the same application server that sits behind Apache to monitor apache. - Original Message From: Red al tubor <[EMAIL PROTECTED]> To: users@httpd.apache.org Sent: Wednesday, May 23, 2007 4:14:53 PM Subject: [EMAIL PROTECTED] httpd.conf Hello, And we have 3 Apache instance?? can we let the client see our error page when the server stop responding??? i don't know exactly but is there any way to control the issue by providing an error page to the clients like " The server busy" or " Please wait 30 minutes and reconnect to our site"...??? hope guys that there is a solution Anyway any good solution to monitor the httpd process (the Application Server)??? Regards, RN Thanks in advance guys Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
[EMAIL PROTECTED] httpd.conf
Hello, And we have 3 Apache instance?? can we let the client see our error page when the server stop responding??? i don't know exactly but is there any way to control the issue by providing an error page to the clients like " The server busy" or " Please wait 30 minutes and reconnect to our site"...??? hope guys that there is a solution Anyway any good solution to monitor the httpd process (the Application Server)??? Regards, RN Thanks in advance guys
[EMAIL PROTECTED] httpd.conf for oracle app 10g
Hello, Something else guys?? how can i make or view the html pages when the server goes down... to know where exactly the server stop Responding??? ... And when the httpd process takes 100% from the cpu... i cannot switch to oracle user using ( su - ..) The error is " Resource temporarily unavailable " ??? Thanks in advance Regards, RN orignial_httpd.conf Description: Binary data - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf for oracle app 10g
Red al tubor wrote: Hello Guys, I am new here, i am facing a problem in our Oracle Application Server 10g ... i configured httpd.conf in a recommended way from oracle... The Problem is that when more than 500 session are opened the Server fails down and the cpu is running full 100% httpd process in top takes 100% from the cpu??? Any idea about how it works and how can i manage the TCP/IP connection? or Maximize the performance Any idea guys... Thanks in advance... Regards, RN Hi, Can you provide us with more information about your installation? 1. Are you running SSL? 2. What class (architecture, number of CPUs, physical configuration) of webserver platform? If your server hardware is moderately recent (i.e. pentium 4 xeon-class) with enough memory, you should be able to handle hundreds of clients easily. We run our Oracle AS frontends with 'MaxClients 1024' on dual-CPU xeon systems, hyperthreaded, and normally see a load average of about 1 with ~400 clients. These also run SSL natively. Thanks, Josh - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf for oracle app 10g
On 5/22/07, Red al tubor <[EMAIL PROTECTED]> wrote: Hello Guys, I am new here, i am facing a problem in our Oracle Application Server 10g ... i configured httpd.conf in a recommended way from oracle... The Problem is that when more than 500 session are opened the Server fails down and the cpu is running full 100% httpd process in top takes 100% from the cpu??? Any idea about how it works and how can i manage the TCP/IP connection? or Maximize the performance To start, you need to change the MaxClients directive to limit the number of apache connections to something your system can handle. Then if you want to figure out why you can't handle more connections, you need to do some work. Exactly what are the limiting resources? Do you have enough memory? Is the database responding quickly enough? It is rather likely that the problems are related to the oracle modules included with apache, since all the heavy-lifting (database connections and processing) are going on in those modules. To be sure, you'd need to get a live backtrace of some of the httpd child processes that are pegging the cpu: http://httpd.apache.org/dev/debugging.html#backtrace Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] httpd.conf for oracle app 10g
Hello Guys, I am new here, i am facing a problem in our Oracle Application Server 10g ... i configured httpd.conf in a recommended way from oracle... The Problem is that when more than 500 session are opened the Server fails down and the cpu is running full 100% httpd process in top takes 100% from the cpu??? Any idea about how it works and how can i manage the TCP/IP connection? or Maximize the performance Any idea guys... Thanks in advance... Regards, RN
RE: [EMAIL PROTECTED] httpd.conf question - virtual server- firewall port forwarding
David, I'm far from an expert on Apache web server but I think you can't do what you're trying to do. If your server is on a private network behind a router (which it must be) the rest of the world will not see the 192.168.x.x IP #s, only the IP # of the router. I think you will have to use name-based virtual hosts. Bruce --- On Wed 03/28, Vizion < [EMAIL PROTECTED] > wrote: From: Vizion [mailto: [EMAIL PROTECTED] To: users@httpd.apache.org Date: Wed, 28 Mar 2007 10:06:53 -0700 Subject: [EMAIL PROTECTED] httpd.conf question - virtual server- firewall port forwarding I am setting up an apache2.2 server on freebsd with a number of virtual hosts. The server is behind a firewall which has the IP address to which each virtual host is pointed by DNS with port 80 forwarding to the server. The server is on a private network (192.168.0.0) behind the firewall. I have never used this arrangement before and cannot get the virtual servers functioning properly. httpd.conf includes the lines: Include etc/apache22/Includes/*.conf the virtual servers have entries in the form of: DocumentRoot /absolute/path/to/root Servername www.mydomain.tld AcceptPathInfo order allow, deny allow from all Can anyone point me to a resource that can maybe help me identify what I am doing wrong. I have not had to use this arangement before.. so I am doubtless making a silly mistake somewhere. \ Thanks in advance david ___ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf question - virtual server- firewall port forwarding
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Joshua Slive > Sent: Wednesday, March 28, 2007 10:14 AM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] httpd.conf question - virtual server- firewall > port forwarding > > On 3/28/07, Vizion <[EMAIL PROTECTED]> wrote: > > I am setting up an apache2.2 server on freebsd with a > number of virtual hosts. > > > > The server is behind a firewall which has the IP address to > which each virtual host is pointed by DNS with port 80 > forwarding to the server. The server is on a private network > (192.168.0.0) behind the firewall. > > > > I have never used this arrangement before and cannot get > the virtual servers functioning properly. > > What exactly happens when you try? > > In general, you should be using > NameVirtualHost *:80 > and then for each virtual host > > ... > > > to avoid potential mis-matched IP addresses. > > Joshua. Thanks for getting back to me so quickly. That did it. David - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] httpd.conf question - virtual server- firewall port forwarding
I am setting up an apache2.2 server on freebsd with a number of virtual hosts. The server is behind a firewall which has the IP address to which each virtual host is pointed by DNS with port 80 forwarding to the server. The server is on a private network (192.168.0.0) behind the firewall. I have never used this arrangement before and cannot get the virtual servers functioning properly. httpd.conf includes the lines: Include etc/apache22/Includes/*.conf the virtual servers have entries in the form of: DocumentRoot /absolute/path/to/root Servername www.mydomain.tld AcceptPathInfo order allow, deny allow from all Can anyone point me to a resource that can maybe help me identify what I am doing wrong. I have not had to use this arangement before.. so I am doubtless making a silly mistake somewhere. \ Thanks in advance david - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf question - virtual server- firewall port forwarding
On 3/28/07, Vizion <[EMAIL PROTECTED]> wrote: I am setting up an apache2.2 server on freebsd with a number of virtual hosts. The server is behind a firewall which has the IP address to which each virtual host is pointed by DNS with port 80 forwarding to the server. The server is on a private network (192.168.0.0) behind the firewall. I have never used this arrangement before and cannot get the virtual servers functioning properly. What exactly happens when you try? In general, you should be using NameVirtualHost *:80 and then for each virtual host ... to avoid potential mis-matched IP addresses. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] httpd.conf for Alias and DocumentRoot usage
Excuse the bandwidth, but may I suggest this URL instead: http://preview.tinyurl.com/2s6jn2 Jerel Crosland x3187 Make sure all variables are initialized before use. -Original Message- From: Sander Temme [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 31, 2007 11:28 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] httpd.conf for Alias and DocumentRoot usage On Jan 31, 2007, at 10:58 AM, Noah wrote: > Reposting since I have not received specifc help for my situation. Yes you have: http://mail-archives.apache.org/mod_mbox/httpd-users/200701.mbox/% [EMAIL PROTECTED] S. -- [EMAIL PROTECTED]http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF *** This e-mail and any files transmitted with it are intended solely for the use of the addressee. This e-mail may contain confidential and/or legally privileged information. Any review, transmission, disclosure, copying, or any action taken or not taken, by other than the intended recipient, in reliance on the information, is prohibited. If you received this e-mail in error, notify the sender and delete this e-mail (and any accompanying material) from your computer and network. In addition, please be advised that 21st Century Insurance Group reserves the right to monitor, access and review all messages, data and images transmitted through our electronic mail system. By using our e-mail system, you consent to this monitoring. *** - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf for Alias and DocumentRoot usage
On Jan 31, 2007, at 10:58 AM, Noah wrote: Reposting since I have not received specifc help for my situation. Yes you have: http://mail-archives.apache.org/mod_mbox/httpd-users/200701.mbox/% [EMAIL PROTECTED] S. -- [EMAIL PROTECTED]http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF smime.p7s Description: S/MIME cryptographic signature
[EMAIL PROTECTED] httpd.conf for Alias and DocumentRoot usage
apache-2.2.4 joomla-1.0.12 Reposting since I have not received specifc help for my situation. So I want to keep the joomla directory in a path that has nothing to do with the site's DocumentRoot. I am assuming this brings more security. But what I'd like to do is take out the need for joomla to be nested in the http://www.site.com/main URL I'd like joomla to appear without 'main' in the URL - like http://www.site.com/ How would I configure my httpd.conf file to allow this behavior? For instance how important are trailing / (slashes). What are things I need to be aware of? config DocumentRoot /a/www/data/www.site.com Alias /main /a/www/joomla/ RewriteEngine on RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD)$ RewriteRule .* - [F] Redirect permanent /index.html http://www.site.com/main config - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] httpd.conf file processing
I need to integrate Windows registry processing into the Apache configuration.I'd like a quick guide to how the internals of httpd,conf processing is supported so I don't have to read all the code. Can anyone give me a quick overview of how Apache locates httpd.conf, where the file is read, where the configuration keywords are parsed and the values stored in that hash table that's so necessary to speed up a process that's done only at startup. Art
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
Thanks Boyle, My problem resolved in some other way. Any way thanks for your help. -Original Message- From: Boyle Owen [mailto:[EMAIL PROTECTED] Sent: Friday, August 11, 2006 12:34 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, August 11, 2006 6:03 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > Hi, > > I tried in all ways, but facing the same error > > > > > > SSLRequire %{REQUEST_URI} !~ m\/abc\/qwert/ You need to read up on regular expression syntax... Every time you post you show a different string and because you keep faking the strings, I don't know if we're looking at the literal content of the config file or something you typed in quickly that shows what you think it contains... So I've no confidence that what you post is what's in the config. I know the \/\/\ stuff looks confusing but it is essential that everything is there and in the right order. In your example above, you are missing the leading / after the "m" so that won't compile. The pattern should be *exactly* m/\/abc\/qwert/ Perhaps if I explain exactly what the regexp means, taking each character in turn: m - match / - start of match string \ - escape (ie, take literally) the next character / - the leading directory slash) abc - the letters abc \ - escape (ie, take literally) the next character / - the subdir slash qwert - the letters qwert / - end of match string Escaping is necessary because a slash is part of the regexp syntax. So if you want to use a slash in your pattern, you have to tell the compiler to ignore it, hence you escape it with a backslash. Have another go... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > Starting httpd: Syntax error on line 1066 of > /etc/httpd/conf/httpd.conf: > SSLRequire: parse error > > > > > -- Gannarapu > -Original Message- > From: SOPRO [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 10, 2006 8:15 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Httpd.conf configuration problem > > Gannarapu, > > I guess you have a odd slash after 'm'. > > Try this: > > %{REQUEST_URI} !~ m\/abc\/qwert/ > > Fabricio. > > > 2006/8/10, Boyle Owen <[EMAIL PROTECTED]>: > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, August 10, 2006 9:14 AM > > > To: users@httpd.apache.org > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > Hi boyle, > > > > > > SSLRequire %{REQUEST_URI} !~ m/\/bam\/qwert > > ^ > > | > > | > > > > > > It is missing a final "/" to close the match-operator. > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > I just pasted the line from the httpd.conf file. > > > > > > Could you found some thing wrong in the expression? > > > > > > > > > -- Gannarapu > > > > > > > > > -Original Message- > > > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > > > > > Sent: Thursday, August 10, 2006 12:40 PM > > > To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices) > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > > > > > > Sent: Thursday, August 10, 2006 5:44 AM > > > > To: users@httpd.apache.org > > > > Cc: Boyle Owen > > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > > > > > > > > > > > > > > > Hi Boyle, > > > > > > PLease just reply to the list - no need to CC me.. > > > > > > > > > > > > > > When I use the below expression > > > > > > > > > > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > > > > > > > > > > I got below error > > > > > > > > &
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, August 11, 2006 6:03 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > Hi, > > I tried in all ways, but facing the same error > > > > > > SSLRequire %{REQUEST_URI} !~ m\/abc\/qwert/ You need to read up on regular expression syntax... Every time you post you show a different string and because you keep faking the strings, I don't know if we're looking at the literal content of the config file or something you typed in quickly that shows what you think it contains... So I've no confidence that what you post is what's in the config. I know the \/\/\ stuff looks confusing but it is essential that everything is there and in the right order. In your example above, you are missing the leading / after the "m" so that won't compile. The pattern should be *exactly* m/\/abc\/qwert/ Perhaps if I explain exactly what the regexp means, taking each character in turn: m - match / - start of match string \ - escape (ie, take literally) the next character / - the leading directory slash) abc - the letters abc \ - escape (ie, take literally) the next character / - the subdir slash qwert - the letters qwert / - end of match string Escaping is necessary because a slash is part of the regexp syntax. So if you want to use a slash in your pattern, you have to tell the compiler to ignore it, hence you escape it with a backslash. Have another go... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > Starting httpd: Syntax error on line 1066 of > /etc/httpd/conf/httpd.conf: > SSLRequire: parse error > > > > > -- Gannarapu > -Original Message----- > From: SOPRO [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 10, 2006 8:15 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Httpd.conf configuration problem > > Gannarapu, > > I guess you have a odd slash after 'm'. > > Try this: > > %{REQUEST_URI} !~ m\/abc\/qwert/ > > Fabricio. > > > 2006/8/10, Boyle Owen <[EMAIL PROTECTED]>: > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, August 10, 2006 9:14 AM > > > To: users@httpd.apache.org > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > Hi boyle, > > > > > > SSLRequire %{REQUEST_URI} !~ m/\/bam\/qwert > > ^ > > | > > | > > > > > > It is missing a final "/" to close the match-operator. > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > I just pasted the line from the httpd.conf file. > > > > > > Could you found some thing wrong in the expression? > > > > > > > > > -- Gannarapu > > > > > > > > > -Original Message- > > > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > > > > > Sent: Thursday, August 10, 2006 12:40 PM > > > To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices) > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > > > > > > Sent: Thursday, August 10, 2006 5:44 AM > > > > To: users@httpd.apache.org > > > > Cc: Boyle Owen > > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > > > > > > > > > > > > > > > Hi Boyle, > > > > > > PLease just reply to the list - no need to CC me.. > > > > > > > > > > > > > > When I use the below expression > > > > > > > > > > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > > > > > > > > > > I got below error > > > > > > > > > > > Starting httpd: Syntax error on line 1066 of > > > > > > > /etc/httpd/conf/httpd.conf: > > > > SSLRequire: Failed to compile regular expression. > > > > > > I don't see anything wrong with this...
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
Hi, I tried in all ways, but facing the same error SSLRequire %{REQUEST_URI} !~ m\/abc\/qwert/ Starting httpd: Syntax error on line 1066 of /etc/httpd/conf/httpd.conf: SSLRequire: parse error -- Gannarapu -Original Message- From: SOPRO [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 8:15 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Httpd.conf configuration problem Gannarapu, I guess you have a odd slash after 'm'. Try this: %{REQUEST_URI} !~ m\/abc\/qwert/ Fabricio. 2006/8/10, Boyle Owen <[EMAIL PROTECTED]>: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 10, 2006 9:14 AM > > To: users@httpd.apache.org > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > Hi boyle, > > > > SSLRequire %{REQUEST_URI} !~ m/\/bam\/qwert > ^ > | > | > > > It is missing a final "/" to close the match-operator. > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > I just pasted the line from the httpd.conf file. > > > > Could you found some thing wrong in the expression? > > > > > > -- Gannarapu > > > > > > -Original Message- > > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > > > Sent: Thursday, August 10, 2006 12:40 PM > > To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices) > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > > > Sent: Thursday, August 10, 2006 5:44 AM > > > To: users@httpd.apache.org > > > Cc: Boyle Owen > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > > > > > > > > Hi Boyle, > > > > PLease just reply to the list - no need to CC me.. > > > > > > > > > > When I use the below expression > > > > > > > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > > > > > > > I got below error > > > > > > > > Starting httpd: Syntax error on line 1066 of > > > > > /etc/httpd/conf/httpd.conf: > > > SSLRequire: Failed to compile regular expression. > > > > I don't see anything wrong with this... Please post the exact > > cut'n'paste of the line from your config - do not edit it. > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > > > > > > > > Please suggest me the suitable configuration > > > > > > > > > > > > > Thanks in advance, > > > > > > > > -- Gannarapu > > > > > > > > > > > > > -Original Message- > > > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > > > > > > > Sent: Thursday, August 03, 2006 7:11 PM > > > To: users@httpd.apache.org > > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > > > > > > > > Sent: Thursday, August 03, 2006 2:18 PM > > > > To: users@httpd.apache.org > > > > Subject: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have a problem with the configuration of apache web server. > > > > > > > > > > > > > I used "SSLRequireSSL" directive for the URLS which are only > > > > > > > > > allowed with Https to my application. > > > > > > > > > > > > > But now my client doesn't want to allow any URL patterns > > > > > > > > > except "/abc/qwert" with Http. > > > > > > > > > > > > > > > > > > I have
Re: [EMAIL PROTECTED] Httpd.conf configuration problem
Gannarapu, I guess you have a odd slash after 'm'. Try this: %{REQUEST_URI} !~ m\/abc\/qwert/ Fabricio. 2006/8/10, Boyle Owen <[EMAIL PROTECTED]>: > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 10, 2006 9:14 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > Hi boyle, > > SSLRequire %{REQUEST_URI} !~ m/\/bam\/qwert ^ | | It is missing a final "/" to close the match-operator. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > I just pasted the line from the httpd.conf file. > > Could you found some thing wrong in the expression? > > > -- Gannarapu > > > -Original Message- > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 10, 2006 12:40 PM > To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices) > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, August 10, 2006 5:44 AM > > To: users@httpd.apache.org > > Cc: Boyle Owen > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > Hi Boyle, > > PLease just reply to the list - no need to CC me.. > > > > > > When I use the below expression > > > > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > > > > I got below error > > > > > Starting httpd: Syntax error on line 1066 of > > > /etc/httpd/conf/httpd.conf: > > SSLRequire: Failed to compile regular expression. > > I don't see anything wrong with this... Please post the exact > cut'n'paste of the line from your config - do not edit it. > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > Please suggest me the suitable configuration > > > > > > > > Thanks in advance, > > > > > -- Gannarapu > > > > > > > > -Original Message----- > > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > > > > Sent: Thursday, August 03, 2006 7:11 PM > > To: users@httpd.apache.org > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > > > > > Sent: Thursday, August 03, 2006 2:18 PM > > > To: users@httpd.apache.org > > > Subject: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have a problem with the configuration of apache web server. > > > > > > > > > I used "SSLRequireSSL" directive for the URLS which are only > > > > > > allowed with Https to my application. > > > > > > > > > But now my client doesn't want to allow any URL patterns > > > > > > except "/abc/qwert" with Http. > > > > > > > > > > > > I have configured httpd.conf as shown below > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > SSLRequire %{REQUEST_URI} != "/abc/qwert" > > > > > > > > TRy not using asymmetric quotes; use double quotes, eg: > > > > > %{REQUEST_URI} != "/abc/qwert" > > > > > alternatively, try a perl regexp: > > > > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > > > > (NB note the "does not match" operator !~) > > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But the above configuration is not working. > > > > > > > > > > > > > > > > > > > > > > > > > Please suggest me the suitable configuration. > > > > > > > > > > > > > > > > > > > > > > >
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 10, 2006 9:14 AM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > Hi boyle, > > SSLRequire %{REQUEST_URI} !~ m/\/bam\/qwert ^ | | It is missing a final "/" to close the match-operator. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > I just pasted the line from the httpd.conf file. > > Could you found some thing wrong in the expression? > > > -- Gannarapu > > > -Original Message- > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 10, 2006 12:40 PM > To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices) > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, August 10, 2006 5:44 AM > > To: users@httpd.apache.org > > Cc: Boyle Owen > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > > > Hi Boyle, > > PLease just reply to the list - no need to CC me.. > > > > > > When I use the below expression > > > > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > > > > I got below error > > > > > Starting httpd: Syntax error on line 1066 of > > > /etc/httpd/conf/httpd.conf: > > SSLRequire: Failed to compile regular expression. > > I don't see anything wrong with this... Please post the exact > cut'n'paste of the line from your config - do not edit it. > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > Please suggest me the suitable configuration > > > > > > > > Thanks in advance, > > > > > -- Gannarapu > > > > > > > > -Original Message- > > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > > > > Sent: Thursday, August 03, 2006 7:11 PM > > To: users@httpd.apache.org > > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > > > > > > Sent: Thursday, August 03, 2006 2:18 PM > > > To: users@httpd.apache.org > > > Subject: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have a problem with the configuration of apache web server. > > > > > > > > > I used "SSLRequireSSL" directive for the URLS which are only > > > > > > allowed with Https to my application. > > > > > > > > > But now my client doesn't want to allow any URL patterns > > > > > > except "/abc/qwert" with Http. > > > > > > > > > > > > I have configured httpd.conf as shown below > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > SSLRequire %{REQUEST_URI} != "/abc/qwert" > > > > > > > > TRy not using asymmetric quotes; use double quotes, eg: > > > > > %{REQUEST_URI} != "/abc/qwert" > > > > > alternatively, try a perl regexp: > > > > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > > > > (NB note the "does not match" operator !~) > > > > > Rgds, > > Owen Boyle > > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But the above configuration is not working. > > > > > > > > > > > > > > > > > > > > > > > > > Please suggest me the suitable configuration. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 10, 2006 5:44 AM > To: users@httpd.apache.org > Cc: Boyle Owen > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > Please keep all mails *on list*. So please don't: - CC anyone directly, unless they specifically ask you to - set "Reply-to" to yourself, so you get the reply and not the list > > > Hi Boyle, > > When I use the below expression > > %{REQUEST_URI} !~ m/\/abc\/qwert/ I don't see anything wrong with this... Please post the exact cut'n'paste of the line from your config - do not edit it. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > I got below error > > Starting httpd: Syntax error on line 1066 of > /etc/httpd/conf/httpd.conf: > SSLRequire: Failed to compile regular expression. > > > Please suggest me the suitable configuration > > > Thanks in advance, > > -- Gannarapu > > > -Original Message- > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 03, 2006 7:11 PM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, August 03, 2006 2:18 PM > > To: users@httpd.apache.org > > Subject: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > Hi, > > > > > > > > > > > > > > > > > > I have a problem with the configuration of apache web server. > > > > > I used "SSLRequireSSL" directive for the URLS which are only > > > allowed with Https to my application. > > > > > But now my client doesn't want to allow any URL patterns > > > except "/abc/qwert" with Http. > > > > > > I have configured httpd.conf as shown below > > > > > > > > > > > > > > > > SSLRequire %{REQUEST_URI} != "/abc/qwert" > > > TRy not using asymmetric quotes; use double quotes, eg: > > %{REQUEST_URI} != "/abc/qwert" > > alternatively, try a perl regexp: > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > (NB note the "does not match" operator !~) > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > > > > > But the above configuration is not working. > > > > > > > > > > > > Please suggest me the suitable configuration. > > > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > Gannarapu > > > > > > > > The information contained in this electronic message and any > > > attachments to this message are intended for the exclusive > > > use of the addressee(s) and may contain proprietary, > > > confidential or privileged information. If you are not the > > > intended recipient, you should not disseminate, distribute or > > > copy this e-mail. Please notify the sender immediately and > > > destroy all copies of this message and any attachments. > > > > > > WARNING: Computer viruses can be transmitted via email. The > > > recipient should check this email and any attachments for the > > > presence of viruses. The company accepts no liability for any > > > damage caused by any virus transmitted by this email. > > > > > www.wipro.com > > > > > > > > > > This message is for the named person's use only. It may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. > If you receive this message in error, please notify the > sender urgently > and then immediately delete the message and any copies of it from your > system. Please also immediately destroy any hardcopies of the message. > You must not, directly or indirectly, use, disclose, > distribute, print, > or copy any part of this message if you are not the intended > recipient. > The sender's company reserves the right to monitor all e-mail > communications through their networks. Any views expressed in this > message are those of the individual sender, except where the message > states otherwise and the sender is authorised to state them to be the > views of
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
Hi boyle, SSLRequire %{REQUEST_URI} !~ m/\/bam\/qwert I just pasted the line from the httpd.conf file. Could you found some thing wrong in the expression? -- Gannarapu -Original Message- From: Boyle Owen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:40 PM To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices) Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 10, 2006 5:44 AM > To: users@httpd.apache.org > Cc: Boyle Owen > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > Hi Boyle, PLease just reply to the list - no need to CC me.. > > When I use the below expression > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > I got below error > > Starting httpd: Syntax error on line 1066 of > /etc/httpd/conf/httpd.conf: > SSLRequire: Failed to compile regular expression. I don't see anything wrong with this... Please post the exact cut'n'paste of the line from your config - do not edit it. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > Please suggest me the suitable configuration > > > Thanks in advance, > > -- Gannarapu > > > -Original Message- > From: Boyle Owen [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 03, 2006 7:11 PM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, August 03, 2006 2:18 PM > > To: users@httpd.apache.org > > Subject: [EMAIL PROTECTED] Httpd.conf configuration problem > > > > > Hi, > > > > > > > > > > > > > > > > > > I have a problem with the configuration of apache web server. > > > > > I used "SSLRequireSSL" directive for the URLS which are only > > > allowed with Https to my application. > > > > > But now my client doesn't want to allow any URL patterns > > > except "/abc/qwert" with Http. > > > > > > I have configured httpd.conf as shown below > > > > > > > > > > > > > > > > SSLRequire %{REQUEST_URI} != "/abc/qwert" > > > TRy not using asymmetric quotes; use double quotes, eg: > > %{REQUEST_URI} != "/abc/qwert" > > alternatively, try a perl regexp: > > %{REQUEST_URI} !~ m/\/abc\/qwert/ > > (NB note the "does not match" operator !~) > > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored. > > > > > > > > > > > > > > But the above configuration is not working. > > > > > > > > > > > > Please suggest me the suitable configuration. > > > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > Gannarapu > > > > > > > > The information contained in this electronic message and any > > > attachments to this message are intended for the exclusive > > > use of the addressee(s) and may contain proprietary, > > > confidential or privileged information. If you are not the > > > intended recipient, you should not disseminate, distribute or > > > copy this e-mail. Please notify the sender immediately and > > > destroy all copies of this message and any attachments. > > > > > > WARNING: Computer viruses can be transmitted via email. The > > > recipient should check this email and any attachments for the > > > presence of viruses. The company accepts no liability for any > > > damage caused by any virus transmitted by this email. > > > > > www.wipro.com > > > > > > > > > > This message is for the named person's use only. It may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. > If you receive this message in error, please notify the > sender urgently > and then immediately delete the message and any copies of it from your > system. Please also immediately destroy any hardcopies of the message. > You must not, directly or indirectly, use, disclose, > distribute, print, > or copy any part of this message if you are not the intended > recipient. > The sender's company reserves the right to monitor all e-mail > communications through their networks. Any views ex
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
Hi Boyle, When I use the below expression %{REQUEST_URI} !~ m/\/abc\/qwert/ I got below error Starting httpd: Syntax error on line 1066 of /etc/httpd/conf/httpd.conf: SSLRequire: Failed to compile regular expression. Please suggest me the suitable configuration Thanks in advance, -- Gannarapu -Original Message- From: Boyle Owen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 7:11 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 03, 2006 2:18 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Httpd.conf configuration problem > > Hi, > > > > > > I have a problem with the configuration of apache web server. > > I used "SSLRequireSSL" directive for the URLS which are only > allowed with Https to my application. > > But now my client doesn't want to allow any URL patterns > except "/abc/qwert" with Http. > > I have configured httpd.conf as shown below > > > > > > SSLRequire %{REQUEST_URI} != "/abc/qwert" TRy not using asymmetric quotes; use double quotes, eg: %{REQUEST_URI} != "/abc/qwert" alternatively, try a perl regexp: %{REQUEST_URI} !~ m/\/abc\/qwert/ (NB note the "does not match" operator !~) Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > > But the above configuration is not working. > > > > Please suggest me the suitable configuration. > > > > > > > > Regards, > > Gannarapu > > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive > use of the addressee(s) and may contain proprietary, > confidential or privileged information. If you are not the > intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and > destroy all copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The > recipient should check this email and any attachments for the > presence of viruses. The company accepts no liability for any > damage caused by any virus transmitted by this email. > > www.wipro.com > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Httpd.conf configuration problem
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 03, 2006 2:18 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Httpd.conf configuration problem > > Hi, > > > > > > I have a problem with the configuration of apache web server. > > I used "SSLRequireSSL" directive for the URLS which are only > allowed with Https to my application. > > But now my client doesn't want to allow any URL patterns > except "/abc/qwert" with Http. > > I have configured httpd.conf as shown below > > > > > > SSLRequire %{REQUEST_URI} != "/abc/qwert" TRy not using asymmetric quotes; use double quotes, eg: %{REQUEST_URI} != "/abc/qwert" alternatively, try a perl regexp: %{REQUEST_URI} !~ m/\/abc\/qwert/ (NB note the "does not match" operator !~) Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > > But the above configuration is not working. > > > > Please suggest me the suitable configuration. > > > > > > > > Regards, > > Gannarapu > > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive > use of the addressee(s) and may contain proprietary, > confidential or privileged information. If you are not the > intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and > destroy all copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The > recipient should check this email and any attachments for the > presence of viruses. The company accepts no liability for any > damage caused by any virus transmitted by this email. > > www.wipro.com > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Httpd.conf configuration problem
Hi, I have a problem with the configuration of apache web server. I used “SSLRequireSSL” directive for the URLS which are only allowed with Https to my application. But now my client doesn’t want to allow any URL patterns except “/abc/qwert” with Http. I have configured httpd.conf as shown below SSLRequire %{REQUEST_URI} != “/abc/qwert” But the above configuration is not working. Please suggest me the suitable configuration. Regards, Gannarapu The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Re: [EMAIL PROTECTED] httpd.conf
On Thu, 2006-01-19 at 12:20 -0200, info.raa wrote: > Hi evetybody! > > Greetings. > I have just starded learning apache. > I'm using os x and apache 2.0.52. > The server is running and i already undertand how virtual host works. > From any computer of my lan i can see my intranet site. > > Here is my question: > > Can anyone send me an httpd.conf file with the configurations necessary > to run a member's only site? > I have tried the following code inside a directory container, have > created a passwd folder and the proper user/password file, but had no > sucess. > > # Controls who can get stuff from this server. > Order allow, deny > Allow from 192.168 > Deny from all > > # Security measures > AuthType Basic > AuthName "Restricted Files" > AuthUserFile /Library/Apache2/passwd/passwords > Require valid-user > > Thanks! > > Best regards, > > Kbl_Master > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Hi, You can use a simple script to manage "users" in the .htaccess file here is a download: http://corp.sover.net/support/webfaq/access.zip here is more info: http://corp.sover.net/support/webfaq/pass.shtml If you need a full featured content management system, I would suggest Interchange: http://www.icdevgroup.org Rick - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf
Joshua, Tks for the reply. I'll try it. On 19 de Jan de 2006, at 12:25 PM, Joshua Slive wrote: On 1/19/06, info. raa <[EMAIL PROTECTED]> wrote: Can anyone send me an httpd.conf file with the configurations necessary to run a member's only site? I have tried the following code inside a directory container, have created a passwd folder and the proper user/password file, but had no sucess. "had no success" is not very descriptive. Exactly what happened? Exactly what was in the error and access logs? # Controls who can get stuff from this server. Order allow, deny No space between allow, and deny please. Allow from 192.168 Deny from all The deny is evaluated last according to the allow statement and therefore denies all access. I think you want "Order deny,allow". Iff what you want is to allow from 192.168 OR if the person has a password, then you also need to add "Satisfy Any". # Security measures AuthType Basic AuthName "Restricted Files" AuthUserFile /Library/Apache2/passwd/passwords Require valid-user This looks basically fine. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] httpd.conf
On 1/19/06, info. raa <[EMAIL PROTECTED]> wrote: > Can anyone send me an httpd.conf file with the configurations necessary > to run a member's only site? > I have tried the following code inside a directory container, have > created a passwd folder and the proper user/password file, but had no > sucess. "had no success" is not very descriptive. Exactly what happened? Exactly what was in the error and access logs? > > # Controls who can get stuff from this server. > Order allow, deny No space between allow, and deny please. > Allow from 192.168 > Deny from all The deny is evaluated last according to the allow statement and therefore denies all access. I think you want "Order deny,allow". Iff what you want is to allow from 192.168 OR if the person has a password, then you also need to add "Satisfy Any". > > # Security measures > AuthType Basic > AuthName "Restricted Files" > AuthUserFile /Library/Apache2/passwd/passwords > Require valid-user This looks basically fine. Joshua. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] httpd.conf
Hi evetybody! Greetings. I have just starded learning apache. I'm using os x and apache 2.0.52. The server is running and i already undertand how virtual host works. From any computer of my lan i can see my intranet site. Here is my question: Can anyone send me an httpd.conf file with the configurations necessary to run a member's only site? I have tried the following code inside a directory container, have created a passwd folder and the proper user/password file, but had no sucess. # Controls who can get stuff from this server. Order allow, deny Allow from 192.168 Deny from all # Security measures AuthType Basic AuthName "Restricted Files" AuthUserFile /Library/Apache2/passwd/passwords Require valid-user Thanks! Best regards, Kbl_Master - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]