Re: [us...@httpd] how to setup mod_ssl to accept only https requests

2009-06-17 Thread Davide Bianchi
ravindra wrote: > But when I type “http://localhost “ it is still working (showing the > index.html content in htdocs) . I want my apache server to accept only > “https “requests. > > How to configure this? You have two way: remove the 'Listen 80' option, basically disabling the whole http part,

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread Davide Bianchi
Rubén Clérigo wrote: > Has anybody encountered a problem like this one? I know this kind of > domains do work on other sites (e.g. www.mañana.es) so I would like to > know how to set up such domains myself. While domain names technically have no restrictions on the characters they use and can incl

Re: [us...@httpd] Apache 1.3.41 child processes crashing frequently.

2009-06-09 Thread Davide Bianchi
Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: > Davide, > > Thanks for your reply.I am linking mod_perl and mod_jk to Apache > binary. If you don't specifically need version 1.3 I suggest you update to 2.x, there have been a lot of improvement in the code between the two version

Re: [us...@httpd] default site

2009-06-09 Thread Davide Bianchi
Boyle Owen wrote: > However, a request with a domain-name that *doesn't* match a VH will be > served outside the VHs by whatever default rules you have (look for > "ServerName" and "DocumentRoot" outside any VH). Actually no. If the request doesn't match any Virtual Hosts, it will be served by the

Re: [us...@httpd] Apache 1.3.41 child processes crashing frequently.

2009-06-08 Thread Davide Bianchi
Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: > I have compiled Apache 1.3.41 + mod_perl + mod_jk + > modssl.Apache child processes are crashing very very frequently and the > error.log is getting filled up with the following message > > [Tue Jun 9 12:05:38 2009] [notice

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread Davide Bianchi
ricardo13 wrote: > First, I would like to write these information in a text file instead html > page. How about calling the status page directly from a script? > Second, mod_status write the information in the text file every 1 second. I suggest you relax your monitoring a bit, otherwise you'll

Re: [us...@httpd] Apache Http server move from Solaris V8 to Solaris V10

2009-05-29 Thread Davide Bianchi
Challa, Chandra R (SATYAM COMPUTER SERVICES LTD.) wrote: > We are using Apache HTTP server V2.0.43 and it is installed on > Solaris Version 8. Now we are migrating from Solaris V8 to V10. > Will the Apache V2.0.43 is compatible on Solaris V10? What steps I have to take while migration. Given that

Re: [us...@httpd] Domain Masking (I think?)

2009-05-23 Thread Davide Bianchi
Drew Tomlinson wrote: > The two URLs are: > > http://drew.mykitchentable.net/fatblog > http://fatblog.freehealthupdates.com The first one is not a domain name, but a domain name + a subdir, that make me think that you already have some sort of rewrite or redirect rule that changes your URL adding

Re: [us...@httpd] How To Secure My Site?

2009-05-19 Thread Davide Bianchi
Carlos Williams wrote: > I would like to know if I can use the certificate that > is used when accessing the /var/www/html/int/main as well as for > /var/www/html/ext/main/webmail? Yes, as long as you a) use the same hostname (www.iamunix.com) or ignore the fact that the browser complains about th

Re: [us...@httpd] mod_proxy working on initial request, but not for subsequent resource requests

2009-05-10 Thread Davide Bianchi
> Mark Keenan wrote: > ProxyPass http://192.168.1.53 > ProxyPassReverse http://192.168.1.53 ProxyPass and ProxyPassReverse takes 2 parameters, the first one is the 'url' to proxy and the second is the url to proxy to. So: > ProxyPass / http://192.168.1.53/ > ProxyPassReverse / http://192.

Re: [us...@httpd] restrict virtualhost to certain type of files

2009-05-08 Thread Davide Bianchi
jeremy co wrote: > restrict virtual host to serve only files with the extensions html, jpg, > and png. and also generate custom error msg if client request other type > of files I'd do something like: RewriteCond %{REQUEST_URI} !.*\.html$ RewriteCond %{REQUEST_URI} !.*\.jpg$ RewriteCond

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Davide Bianchi
Melanie Pfefer wrote: > Is it a problem with the certificate or something I should change in > httpd.conf? > > openssl x509 -noout -text -in /usr/local/apache/conf/ssl/server.crt > unable to load certificate > 25764:error:0906D06C:PEM routines:PEM_read_bio:no start > line:pem_lib.c:647:Expecting

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi, > > I had an official signature from the root CA. > > Now how to generate the server.key and server.crt? If you have a 'key' that is used to sign the certificate, simply use THAT key to sign the certificate instead of using the key you generated yourself. Otherwise,

Re: [us...@httpd] renewing a certificate

2009-05-06 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi , > > I created the .pem file using keytool > > keytool -export -alias tomcat -rfc > tomcat.pem > > and then moved this file to apache directory and ran c_rehash > /usr/local/apache/conf/ssl > > this created a link file cc5d41ae.0 -> tomcat.pem > > what are the mis

Re: [us...@httpd] SSL and Virtual Host

2009-05-04 Thread Davide Bianchi
Asier Ramos wrote: > runs ok. But i have to create another Virtual Host also with SSL but > with a different certificate, is this posible? Only using a different ip address, otherwise all the SSL sites will use the same certificate. Is not a problem in apache but in the way HTTPS works. Davide -

Re: [us...@httpd] [help]my first question with apache

2009-04-29 Thread Davide Bianchi
Yi Zhao wrote: > when I do this, I will got a error message after a long time: > > > > 503 Service Temporarily Unavailable Check your error_log, there must be a better error message in there. Davide -- It might not be practical, it might not be a good idea, but it could work. Sort of like Wi

Re: [us...@httpd] Ways of installing Apache.

2009-04-28 Thread Davide Bianchi
Jimmyboy wrote: > Hi All, > > Can someone tell me in how many ways can one install Apache Server on an > Ubuntu or a Linux box? In all the disitributions is already included or can be installed using the default package manager. Davide -- In the world you need only two things: duct tape and w

Re: [us...@httpd] Using _default_ vhosts

2009-04-24 Thread Davide Bianchi
> jeff00seattle wrote: >> Reference: http://httpd.apache.org/docs/2.2/vhosts/examples.html#default >> Using _default_ vhosts >> >> What does _default_ actually mean??? Exactly what it says. The "default" VHost is picked when Apache can't understand which vhost is requested by the client ('cause

Re: [us...@httpd] HTTPS configuration issue with multiple virtual host

2009-04-09 Thread Davide Bianchi
J. Bakshi wrote: > Hello Davide, > > I have no problem to use the same certificate because this is a test > server. I am really eager to know how to achieve this and I am using > name based vhost here. > > Please enlighten me. The same way you do with non-SSL VHosts, only, you have to add SSL sp

Re: [us...@httpd] HTTPS configuration issue with multiple virtual host

2009-04-09 Thread Davide Bianchi
J. Bakshi wrote: > I have already googled lot and found it is not possible to use the same > port as https for all the virtual hosts. Yes it is. You can use different IP addresses, or you can just use one ip address for all of them. What will happen in this last case is that all the VHosts will us

Re: [us...@httpd] apache proxy for different domains

2009-04-07 Thread Davide Bianchi
Lars Bachmann wrote: > It is working fine but I don't know how to setup the redirect for the > different top level domains. Use a combination virtualhosts + proxy NameVirtualHost *:80 ServerName first.domain.com ProxyPass ... ServerName second.domain.com

Re: [us...@httpd] Apache and OpenSSL

2009-04-06 Thread Davide Bianchi
Tirtza Bernstein wrote: > Hello, > > I downloaded apache without ssl and now realize that I need to configure > ssl. Do I need to download the apache with OpenSSL and reconfigure my > installation or is there a way to add OpenSSL to my existing apache install? If you have a binary installation,

Re: [us...@httpd] Locking down a proxy server

2009-03-23 Thread Davide Bianchi
David Vaughan wrote: > I have a number of networks (think of them as being in local offices), > each of which is connected to the internet via a NAT'ed firewall. Users > on these networks access the internet via an Apache server acting as a > forwarding proxy. These local office proxies are then c

Re: [us...@httpd] http to https

2009-03-21 Thread Davide Bianchi
Tim DeBoer wrote: > For example if I type in secure.foo.com , I want > apache to read/load it as https://secure.foo.com in my browser. What you need is to setup an http site 'secure.foo.com' that automatically redirect to the https site. Somethig like Servername se

Re: [us...@httpd] Big log file- any impact on performance ?

2009-03-15 Thread Davide Bianchi
Chinmay Tripathi wrote: > I was wondering if the log file size has any impact on the apache > performance. On _apache_ performance not really, but it will impact the performance of anything you use to analyze said log files. Running a log analyzer on a 1 Gb file, will require less time and process

Re: [us...@httpd] Re: Confused about LDAP authentication with Active Directory

2009-02-27 Thread Davide Bianchi
Ed Avis wrote: > Davide Bianchi walterisookeensufferukker.nl> writes: > >>> I don't know what the extra '?cn?sub' at the end of the query string is for >> "cn" means that the attibute to use to login is the CN = common name, Heee... sorry (

Re: [us...@httpd] Re: Confused about LDAP authentication with Active Directory

2009-02-27 Thread Davide Bianchi
Ed Avis wrote: > I don't know what the extra '?cn?sub' at the end of the query string is for "cn" means that the attibute to use to login is the CN = common name, "sub" means that the query will return all the SUB-entries (as opposed to 'one' that returns max 1 entry). > [Fri Feb 27 11:26:09 2009

Re: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Davide Bianchi
Bennett, Tony wrote: > While this is true for 100% compliant LDAP servers, MS has "embraced and > extended" Well, to be picky, an 100% compliant LDAP server doesn't require to bind to do a first-level query, so you should be able to get your DN without the need for a fixed username/password. D

Re: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Davide Bianchi
Ed Avis wrote: > imply that > Apache connects to the LDAP server using a fixed username and > password, and then merely queries the existence of an object in the > directory that matches the username. If so how does it check the > password

Re: [us...@httpd] Max fog file size in 2.0

2009-02-22 Thread Davide Bianchi
Timothy Legge wrote: > Can someone confirm that 2.0.59 on RedHat EL 4 (32-bit) has a 2 GB > limit on log files? I have machines with the same configuration and I have bigger log files, so I'd say no, something else is at play. You sure you don't have other problems (full disk, quotas, limits...)

Re: [us...@httpd] Please help unsubscribe

2009-02-19 Thread Davide Bianchi
Denise Mangano wrote: > I subscribed with deni...@complusdata.com Well, actually it seems that your address is Denisem (with a capital 'D') Try to reconfigure your mail program to use the capitalized letter. Davide -- Today's most popular operating system is Microsoft Windows, which runs multip

Re: [us...@httpd] Apache Proxy up Issues

2009-02-19 Thread Davide Bianchi
Charles Payne (Travel Channel) wrote: > We are having an issue with uploading files, it seems to take forvever. > On a standard DSL line 3MB it taking 30 mins plus to upload a 300 MB. > > I am wondering if there a module that we can compile that canhelp speed > uploads. Or are things that I can ad

Re: [us...@httpd] Perl UNIX shell PATH problem with apache www user

2009-01-19 Thread Davide Bianchi
Andy Smith wrote: > Hi List, > > probably quite a basic question, but where does perl get its PATH > variable from when executig shell commands? By the PATH defined for the user that "runs" the web server, that most of the time is the 'default' PATH. > have is that I have the same version of s

Re: [us...@httpd] HTTPS request received for child 0 (server dev.mydomain.com.mydomain.com:443)

2009-01-19 Thread Davide Bianchi
Oliver Marshall wrote: > I’ve got the following line showing up in my error.log. Each time this > appears, our Apache server shows Internal Error to the visitors and dies. > > HTTPS request received for child 0 (server > dev.mydomain.com.mydomain.com:443) > > Firstly, where could apache be gettin

Re: [us...@httpd] Idea for SSL with name-based Vhosts using two servers, mod_rewrite, and mod_proxy

2009-01-07 Thread Davide Bianchi
Brian Mearns wrote: > for secure http support. The frontend server can then use rewrite > conditions to check the http Host header, and rewrite rules with the And how can he check the host header if the request is encrypted? He has to decrypt it. And to do so, he needs a certificate. Davide --

Re: [us...@httpd] Two _default_, one for port 80 and another for port 443

2008-12-23 Thread Davide Bianchi
David BERCOT wrote: > > So, if I well understand (I'm not sure ;-))), there can be only one > https vhost, no ? You can have as many as you want, *BUT* all of them will use the certificate of the first one. Read the documentation of Apache. Davide -- Military intelligence is a contradiction in

Re: [us...@httpd] Two _default_, one for port 80 and another for port 443

2008-12-23 Thread Davide Bianchi
David BERCOT wrote: > Hi, > > Is it possible to have two _defaut_ sections in apache2.conf, one for > http and another for https ? Well, by definition, the first 'vhost' for port 80 is the default for port 80 (http) and the first one for port 443 is the default for https. So, yes. > > Ser

Re: [us...@httpd] multiple instances issue in apache

2008-12-22 Thread Davide Bianchi
ananth desh wrote: > 2. copied the entire httpd directory to another directory /opt/www/httpd01, > 3. Modified the httpd.conf file in the new directory i,e > 5.Edited apachectl file and changed the HTTPD to point to the > /opt/ww/httpd01/httpd Yes. but that executable is still pointing to the de

Re: [EMAIL PROTECTED] debugging

2008-11-15 Thread Davide Bianchi
Paul McFerrin wrote: > NameVirtualHost pmcferrin.homedns.org:80 > [[default virtual hosts definitons]] > > > The 'VirtualHost' should report the same thing that is in the NameVirtualHost directive, if you've used 'pmcferrin...' you should use the same in every VHost. If you are not interested

Re: [EMAIL PROTECTED] tomcat as an email server

2008-11-14 Thread Davide Bianchi
Doug McNutt wrote: >> Received: (from [EMAIL PROTECTED]) > tomcat seems to be a new - at least to me - part of the apache web > server. Tomcat is a pretty old java application server, my reading is that that machine has some vulnerable script/application that is used to send out spam. Contact his

Re: [EMAIL PROTECTED] Loading simple HTML page

2008-10-16 Thread Davide Bianchi
ampo wrote: > Thank you, it works. > > I have another question about mod_rewrite. Please, first read the documentation about mod_rewrite, that is huge and has a lot of informations, if you can't figure out your problema after that consider sending another mail to the m.l. Davide -- Putting "w

Re: [EMAIL PROTECTED] Loading simple HTML page

2008-10-16 Thread Davide Bianchi
ampo wrote: > I have a simple HTML page localy on my PC. > Previously, I used IIS: using virtual directory I browsed to this page and > it was loaded. > How do I do it with Apache?? Find out where in your disk is the 'html' directory (see the httpd.conf file for the DocumentRoot directive) and put

Re: [EMAIL PROTECTED] How to proxy http from a secured site via a reverse-tunnel?

2008-10-14 Thread Davide Bianchi
Buck, Robert wrote: > Two networks exist: engineering and corporate. The engineering network > is firewalled so that NO traffic can go out > On the engineering network there exists a engineering linux machine that > I want to temporarily provide internet access to so that I can update > the OS. Th

Re: [EMAIL PROTECTED] Re: Weird log message

2008-10-08 Thread Davide Bianchi
André Warnier wrote: > Michelle Konzack wrote: >> >> Does someone know, HOW to stop logging from local IPs like <192.168.*>? You can use conditional logging for that, I do it all the time to avoid my own poking to spoil the statistics. In a pinch: SetEnvIf Remote_Addr "192\.168\." dontlog Custom

Re: [EMAIL PROTECTED] Not logging certain requests

2008-09-25 Thread Davide Bianchi
Christian Lerrahn wrote: > is there a way to configure Apache as to not log requests from certain > IP addresses? Yes, conditional logging is what you're looking for. SetEnvIf Remote_Addr "the\.ip\.address\.here" dontlog ... CustomLog /where/you/want/your/log combined env=!dontlog Davide -- Sy

Re: [EMAIL PROTECTED] NameVirtualHost versus VirtualHost documentation

2008-09-25 Thread Davide Bianchi
Chris Pratt wrote: > Hello, I have reason to add an additional IP temporarily to a > Virtual Host. I looked on the latest Apache 2.2 Documentation > and found that while the documentation > allows for multiple IP addresses, the NameVirtualHost > documentation allows for only one IP:Port combinatio

Re: [EMAIL PROTECTED] Weird log message

2008-09-24 Thread Davide Bianchi
Marcin 'Rambo' Roguski wrote: > Seriously though, while it's not an enormous load, dummy connections start > creeping out after several weeks- I was shocked that, when I had to enable > logging for local requests a few hours, these messages were about 90% of > the log. This is why you usually don

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Davide Bianchi
Uwe Dippel wrote: > We are running the old version now, to have the current content accessible. Whenever I try to see that URL, I get a 302 redirecting me to /v2/, maybe that is the problem. How about setting THAT as your DocumentRoot instead of plain-old /var/www/htdocs ? Davide -- Gentlemen,

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Davide Bianchi
Uwe Dippel wrote: > > I simply didn't want to invite too many people; it is a publicly > accessible FQDN. Yes, exactly, it is a PUBLICLY ACCESSIBLE url, and the fast way to test something is just to look at it. So why hiding it? >> And what is the httpd.conf BEFORE the >> changes? > > I was afr

Re: [EMAIL PROTECTED] Virtual Hosts - main site disappears with vhosts

2008-09-24 Thread Davide Bianchi
Uwe Dippel wrote: > I administrate foo.bar.edu.my. Until now, it is one CMS. In future, we > want to use more, so I tried vhosts. > > This is what I added to hhtpd.conf: > >>> >>> ServerName foo.bar.edu.my >>> DocumentRoot /var/www/htdocs >>> >>> > Now, 2ndfoo.bar.edu.my and ano

Re: [EMAIL PROTECTED] pointing documentroot to a file instead of a directory

2008-09-22 Thread Davide Bianchi
Adam Williams wrote: > Is there a way or a command like documentroot but points to a file > instead of a directory? No. You can use the DirectoryIndex directives to specify which file to consider the 'main' page (in place of index.html). But the DocRoot is a directory. Davide -- If Windows is s

Re: [EMAIL PROTECTED] Apache, Jboss and mod_jk

2008-09-17 Thread Davide Bianchi
Massimiliano Giraldo wrote: > Then I tried to configure the web server with mod_jk. I downloaded the > binary version of mod_jk and I followed the guide that I found on > http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta500/html_single/index.html#clusterin

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Davide Bianchi
Clayton Hicklin wrote: > I have LDAP authentication against Active Directory working perfectly in > Firefox, but my problem is with IE. IE automatically passes through the > username and password so once you are logged into the domain, you don't > have to type it in again. See if this http://www.

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi Davide, > > I followed your example and specified localhost in the VirtualHost directive. > it worked. Ah, good. > one more question please: for the other servers, I tried: > > NameVirtualHost *:80 > > > ServerName alias1 > ProxyPass / http://localh

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > hi Davide, > > both apache instances have the basic configuration. They have different port numbers: the main apache is on port 80 and the other 3 instances on 5001, 6001 and 7001. > > In the main apache (port 80), I added as you suggested: > > NameVirtualHost *:80 > >

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi > > the DNS already has this alias. > server = alias1 = alias2 = alias3 > this is why http://alias1 = http://server > while I want : http://alias1 = http://server:5001 (that is another apache on > this machine) Yes, the last part is done by the VHosts, post your config

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi > > I am not using virtualhosts because I need to restart each instance > independently. Ah, ok. That make sense. > How to proceed? I tried the Virtualhost directive but http://alias1 does not > redirect to http://alias1:5001 Well, you need to have somewhere a DNS (

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > hi, > > I have 3 instances of apache each running on a separate port. > I have created a 4th instance on port 80 and 3 aliases so that when users > want to access let’s say: > > http://alias1 it goes to http://server:port1 > http://alias2 it goes to http://server:port2 >

Re: [EMAIL PROTECTED] Default value of AllowOverride

2008-09-12 Thread Davide Bianchi
Andreas Prilop wrote: > Which is the default value of AllowOverride? > > http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride > claims that the default is > AllowOverride All > > However, /etc/apache2/sites-available/default contains > > AllowOverride None > > > Does this mean

Re: [EMAIL PROTECTED] problems installing apache module

2008-09-04 Thread Davide Bianchi
Bill Tantzen wrote: > The error I see when I do a configtest is: > Syntax error on line 248 of /software/apache/conf/httpd.conf: > Cannot load /software/apache/libexec/mod_fastcgi.so into server: > /software/apache/libexec/mod_fastcgi.so: undefined symbol: OS_FcgiConnect The module is trying to lo

Re: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Davide Bianchi
Tan, Liao wrote: > I did read the link, but couldnt figure out wots the solution. > how can I solve it? Well, the point is that the 'random generator' on your system ain't random enough. So, depending on which system you have you have different options. Now, I'm not familiar with HPUX, so I sugge

Re: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Davide Bianchi
Tan, Liao wrote: > > to create the key pair certificate, it gives me the error: > > warning, not much extra random data, consider using the -rand option > Generating RSA private key, 1024 bit long modulus > 26995:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:

Re: [EMAIL PROTECTED] access.log question

2008-08-29 Thread Davide Bianchi
Howard, Chris wrote: > Ok, here is a snippet in a text file: > > http://www.yipyap.com/access_log.txt Well, this seems like you're running an open proxy. I suggest you check it and eventually you close it down. Davide -- Another name for a Windows tutorial is "crash course".

Re: [EMAIL PROTECTED] access.log question

2008-08-28 Thread Davide Bianchi
Howard, Chris wrote: > I see in my access log requests for web pages which > I do not serve, some of which appear to have a 200 status. > > That doesn't seem right. It depends if you use any kind of rewrite or CMS. If you do, chances are that the result code (200) is because of the rewrite and th

Re: [EMAIL PROTECTED] How to start Apache automatically with certificate?

2008-08-28 Thread Davide Bianchi
Tan, Liao wrote: > another information: when I created the certificate, I didnt know about that > it would prompt me for passphrase, and now that everything´s installed, would > like to know how do I make it start without prompting me ...? creating > another certificate, and doing all over again

Re: [EMAIL PROTECTED] How to start Apache automatically with certificate?

2008-08-28 Thread Davide Bianchi
Tan, Liao wrote: > Folks, > Pls gimme some direction on how to start apache (already with the https certificate installed)automatically,that means, without informing manually the passwords, phrase? You either use an empty passphrase or you'll have to figure some system to automatically type the pa

Re: [EMAIL PROTECTED] UserDir configuration

2008-08-26 Thread Davide Bianchi
Marc Fromm wrote: > But when I do things break. How can I specify the UserDir directory and only > specific users that can use it? > > This entry does not work: > UserDir disabled > UserDir enabled user1 user2 user3 > UserDir working Try: UserDir working UserDir disabled UserDir enabled username

Re: [EMAIL PROTECTED] is there any include or reference mechanism in apache to store common entries somewhere and include them in virtualhost

2008-08-21 Thread Davide Bianchi
likai wrote: > Hi, > > Right now, in my httpd.conf I have two sets of virtualhosts for two > IPs. I just made a copy of the first one and change the IP to > another. By doing this, I created a lot of duplicated entries. It may > cause apache to load a lot of duplicated entries. And sometimes it >

Re: [EMAIL PROTECTED] 2 separate Apache configuration files and services. (On one Srv03 box)

2008-08-15 Thread Davide Bianchi
BRENT SODDERS wrote: > I would like to run 2 instances of Apache 2.2 on a MS Windows 2003 server. > > One would be port 80 (for users), the second port () for > developers. The developers would like to have separate services so they > could stop Apache services without stopping services for

Re: [EMAIL PROTECTED] Problem whith DocumentRoot in VirtualHost

2008-08-15 Thread Davide Bianchi
CARRILLO MARTINEZ JULIO ALBERTO wrote: > > We have problems whit the configuration VirtualHost. > > I have two DocumentRoot in the basic configuration You can have one DocumentRoot per server, if you enable VirtualHosts, then the 'main' configuration is ignored and the first VHost will be used

Re: [EMAIL PROTECTED] How apache deals with file extensions

2008-08-04 Thread Davide Bianchi
Robinson Craig wrote: /wrp/mary.html If someone types the following url into a browser: http://www.nrw.qld.gov.au/wrp/mary (**i.e. no .html extension) Then Apache can locate the page and successfully logs the entry like (note the 302 status): This is done by Multiviews if it's enabled (I thi

Re: [EMAIL PROTECTED] Something missing - the upgrade info?

2008-07-31 Thread Davide Bianchi
Paul wrote: simple explanation of just how a person should proceed to apply an = upgrade install. That's because depending on which OS and which OS version (or distribution in Linux's case), the instructions could be completely different and/or out-of-date in a very short time. So, there is

Re: [EMAIL PROTECTED] alias with subfolders

2008-07-30 Thread Davide Bianchi
Andre Hübner wrote: try to use Alias /folder1/folder2 /local/path/local/path in my httpd.conf. All i get is an 404 error. If i change to: Alias /folder1 /local/path/local/path /folder1 is correct maped to /local/path/local/path and requests are ok I did not found any hint that aliasing with s

Re: [EMAIL PROTECTED] V 2.2.9: configure: WARNING: Unrecognized options: --enable-mod etc

2008-07-28 Thread Davide Bianchi
Ron Savage wrote: I tried the command I used with V 2.2.8, with variations, but can't get configure to work. I could not see this problem in the archives. And what does ./configure --help shows about '--enable-mod' ? Davide -- Ah. So-called "developers" who cannot be bothered to skim an O'Reil

Re: [EMAIL PROTECTED] Apache 2.2

2008-07-25 Thread Davide Bianchi
Michael Rogers wrote: I am new to servers period! Then start reading some documentation. There is a huge amount of documents available on Apache's web site, start from there. One thing I found is if you make a mistake in the httpd.conf you may as well trash it copy a new one in it's place b

Re: [EMAIL PROTECTED] Question about the connector Apache x Tomcat

2008-07-21 Thread Davide Bianchi
Tan, Liao wrote: /usr/local/apache2/etc/extra/bobj_apache_tomcat.conf: Cannot load /usr/local/apache2/lib/modules/mod_jk.sl into server: Unresolved external /usr/local/apache2/bin >> You are missing some libraries and/or the connector is compiled with the wrong path for such libraries. If you

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-16 Thread Davide Bianchi
Chris Arnold wrote: Using apache2 2.2.3 on SLES10 SP2. What we have: 1 webserver on 123 subnet. Answers for port 80 1 email server with it's own small apache server on 124 subnet answers for port 8080 1 firewall/router with 1 IP (forwards to internal server addresses) What we want to do: When

Re: [EMAIL PROTECTED] moving apache installation directory

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: Hi I installed apache under /usr/local/apache2 this might change later on. Would it be sufficient to move the directory to the new location and start the http service again? Check in your configuration file where the various parts (modules and so on) are referred (usu

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: hi Is it possible to start or stop 1 virtual host and keep the others running? Using the 'graceful' option the server is restarted without breaking connections, but no, you can't stop/start a VHost alone. Is it possible to have seperate httpd.conf? Sure, you can have

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: I added these lines: Listen 80 Listen 81 NameVirtualHost 10.0.100.4:80 NameVirtualHost 10.0.100.4:81 ServerName zeus DocumentRoot /usr/local/apache2/htdocs ServerName zeus DocumentRoot /usr/local/apache2/htdocs1 When I access http://zeus:80 I get the “It works”. Whe

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: I want to use virtual servers on apache. So I install one server and have several virtual instances each one running on a different port. Hu... why? You can have multiple sites (Virtual HOSTS) without the need for multiple 'instances' of apache running. Why don't you

Re: [EMAIL PROTECTED] giving the problem to start httpd process.

2008-04-30 Thread Davide Bianchi
Narendra Verma wrote: Hi all, My configuration like this : ServerName impetus-887.impetus.co.in:3080 The server name should not contains any port number, is the serve NAME. Syntax error on line 410 of /export/home/qa_eng/Apache/install/Apache2.2.8/conf/httpd.conf: Could not resol

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Davide Bianchi
Tall Paul wrote: which I forwarded port 80 to this PC. I sent my IP (68.82.124.204) to my sister and asked her to test the server. She put http://68.82.124.204 in her browser and got the "page not found" message. That could mean that she did hit your server but simply didn't got the index.htm

Re: [EMAIL PROTECTED] file doesn't exist

2008-04-18 Thread Davide Bianchi
Martin S wrote: /var/www/apache2-default, still it tries to find /htdocs for the outside boxen. Your configuration is certainly broken. How do you get it from the localhost and how do you get it from 'outside' boxen? Maybe you have vhost without knowing. Davide -- This is an air conditioned

Re: [EMAIL PROTECTED] Authentication with Active Directory

2008-04-16 Thread Davide Bianchi
Ralf Wiegand wrote: hello - This is a newbie question, but I searched the apache archives and couldn't find a clear answer on what is the recommended way on doing this. Q1. What is the correct way (recommended) on doing this? Use mod_ntlm Q2. Where can I find a "how-to" on Q1? Search for

Re: [EMAIL PROTECTED] mail from for virtual hosts

2008-04-14 Thread Davide Bianchi
Zbigniew Szalbot wrote: Can you point me to documentation how to setup mail from for virtual domains, which apache generates when users complete a form? No, we can only point you to the generical documentation of wathever programming language you're using for such form. configure it so tha

Re: [EMAIL PROTECTED] Fwd: Re:Invalid command

2008-04-10 Thread Davide Bianchi
Ashwin Basagouda Patil wrote: # ./configure --prefix=/usr/local/apache2 --enable-v4-mapped --enable- modules=all -- enable-mods-shared=all --enable-authnz-ladp --enable-ldap --enable-version - -enable-ssl --enable-http --enable-dav --enable-vhost-alias --enable- imagemap --enable-speling --enab

Re: [EMAIL PROTECTED] RSS Feeds

2008-04-04 Thread Davide Bianchi
Grant Peel wrote: That was my priginal question : Does apache (or php for that matter) need any special knobs turned to allow and support RSS feeds? The simple answer is no. Davide -- Move along, move along, nothing to see here, definitely no evil mind control software here, move along, move a

Re: [EMAIL PROTECTED] Apache 2.2 as a static server (without PHP) to serve images

2008-03-31 Thread Davide Bianchi
thomas Armstrong wrote: I was told that Apache 2.2 allows to create a secondary process which doesn't use PHP to serve images or static files without installing a secondary Apcache webserver or lighttpd. Sure, make a copy of the httpd.conf file, remove everything that refers PHP (the LoadModul

Re: [EMAIL PROTECTED] Invalid command 'DBDriver', perhaps misspelled - gentoo, apache 2.2.8

2008-02-19 Thread Davide Bianchi
Norman Khine wrote: Hello, I have updated apache to 2.2.8 and now I am getting the following error: * Apache2 has detected a syntax error in your configuration files: Syntax error on line 45 of /etc/apache2/vhosts.d/domain.conf Invalid command 'DBDriver', perhaps misspelled or defined by a mod

Re: [EMAIL PROTECTED] Redirecting to internal server

2007-11-23 Thread Davide Bianchi
Paul Cocker wrote: > Such a setup already exists (though it's Linux to Linux) so I thought > this would be relatively easy to do, just copy the existing setup. > People currently connect to http://www.domain.co.uk/folder/login.html > and all is well. Searching the httpd.conf file I can find only on

[EMAIL PROTECTED] jk-runtime-status file

2007-09-10 Thread Davide Bianchi
[EMAIL PROTECTED] wrote: When using mod_jk it complains about this file not being present No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status The documentation does not state what this file is actually used for nor have I seen any adverse effects for not exp

Re: [EMAIL PROTECTED] Apache with SSL

2007-03-17 Thread Davide Bianchi
On 03/16/2007 10:41 PM, Earl, Robert(IT) wrote: I’m sure this has been asked before but I don’t see how to get a history of postings to view. There are many archives available, one is http://mail-archives.apache.org/mod_mbox/httpd-users/ another one is http://www.onlyforfun.net/pipermail/users/

Re: [EMAIL PROTECTED] RE: Compatible version on Apache, Tomcat and Openssl?

2007-03-02 Thread Davide Bianchi
On 03/02/2007 03:56 PM, Lisa Tan wrote: > Do you know which mod_jk I should use? Mod_jk or mod_jk2? mod_jk2 is no longer developed, use mod_jk. Davide -- [It] contains "vegetable stabilizer" which sounds ominous. How unstable are vegetables? --Jeff Zahn

Re: [EMAIL PROTECTED] VIRTUAL HOSTS

2007-01-22 Thread Davide Bianchi
On 01/22/2007 03:59 PM, Bashiro wrote: What do you want to happen if someone requests https://domain2.myhost.com/ ? I would like it to serve the ordinary main server. Well... it does, the problem is that the 'ordinary main server' for HTTPS isn't the one for http. What you could do is to add

Re: [EMAIL PROTECTED] VIRTUAL HOSTS

2007-01-22 Thread Davide Bianchi
On 01/22/2007 11:56 AM, Boyle Owen wrote: It is not required. If you don't do this, default requests (eg, with just the IP address and no hostname like http://192.168.1.1/) will be served by the "main" config. Hummm... that doesn't work in _my_ configuration, the IP address is served by the fi

Re: [EMAIL PROTECTED] VIRTUAL HOSTS

2007-01-22 Thread Davide Bianchi
On 01/22/2007 11:28 AM, Bashiro wrote: http://httpd.apache.org/docs/2.0/vhosts/name-based.html ,Main host goes away: Does this mean whenever one configure any virtual host regardless of wheter it's https or http, the main server delcared in the httpd.conf has to be removed and place in the virtua

Re: [EMAIL PROTECTED] pid file

2007-01-13 Thread Davide Bianchi
Octavian Rasnita wrote: Yes, I forgot to change the path of the Server root in the httpd.conf files. However, if I change it to point to the same path I use with -d [path], the server doesn't start, because it cannot find the modules Well, if you specify the Rootdir on the command line, you s

Re: [EMAIL PROTECTED] pid file

2007-01-13 Thread Davide Bianchi
Octavian Rasnita wrote: I am trying to start 2 servers using the same httpd program, and for doing this, I specify the base directory for each server, using: /usr/local/apache2/bin/httpd -d /path_to_server1 /usr/local/apache2/bin/httpd -d /path_to_server2 In each of those 2 directories I have

Re: [EMAIL PROTECTED] Forcing logging to the access log

2007-01-05 Thread Davide Bianchi
Steve Swift wrote: Is there some way to force the update of the access_log to be committed before the process starts handling the request? Not without hacking the code, since the access_log contains the return code of the request and that's not known until the request has been served. I got

  1   2   >