Re: [us...@httpd] can we run two SSL domains on one IP

2010-01-18 Thread Nilesh Govindarajan
On 01/19/2010 12:52 PM, Nasir Zia wrote: Hi, can anyone tell me can i run my two different SSL domains ex: abc.com and xyz.com on one IP address or i need second IP address to the server. Also please brief on this as if i run 5 sites on one server should i need

Re: [us...@httpd] SSL file location and permissions?

2010-01-18 Thread Nasir Zia
It is up to the which distribution you are using. If you are using redhat/fedora and use default rpm then default location would be /etc/httpd but if you build source code of Apache then location can be of your choice. if you build from source then use --prefix option in your configure script to te

Re: [us...@httpd] SSL file location and permissions?

2010-01-18 Thread Lee Fisher
> Is there a standard location where the SSL crt, csr, and key files should be > located? This wiki page might be of help for some of these locations: http://wiki.apache.org/httpd/DistrosDefaultLayout - The official User-To-

[us...@httpd] can we run two SSL domains on one IP

2010-01-18 Thread Nasir Zia
Hi, can anyone tell me can i run my two different SSL domains ex: abc.com and xyz.com on one IP address or i need second IP address to the server. Also please brief on this as if i run 5 sites on one server should i need 5 IP addresses. Is their any appropriate solution to this. Regards Nasir

Re: [us...@httpd] "Perfect" Transparent Proxy Setup?

2010-01-18 Thread Krist van Besien
On Mon, Jan 18, 2010 at 7:10 PM, Brian Kim <09su.resea...@gmail.com> wrote: > I hope that any network expert make my naive idea more concrete. Actually as a general Web Proxy Squid is a better choice. On a Linux system you can use IPTables to forward all requests to port 80 to your squifd proxy, w

Re: [us...@httpd] SSL file location and permissions?

2010-01-18 Thread Krist van Besien
On Mon, Jan 18, 2010 at 8:52 PM, Dan Schaefer wrote: > Is there a standard location where the SSL crt, csr, and key files should be > located? I would prefer to keep them out of "dan's home directory" and put > them in a widely accepted location. If it helps, I am running CentOS and I > have a sta

Re: [us...@httpd] How to set multisites: same domain, different path, one ip address

2010-01-18 Thread Jiongliang Zhang
2010/1/18 Krist van Besien > 2010/1/16 Jiongliang Zhang : > > > so when I using mydomain:80 and mydomain:8080, I can request both of > them. > > But now I have new reqirements, I hope using mydomain/mailman and > > mydomain/redmine > > to identify them, just like: > > > > http://mydomain/mail

[us...@httpd] SSL file location and permissions?

2010-01-18 Thread Dan Schaefer
Is there a standard location where the SSL crt, csr, and key files should be located? I would prefer to keep them out of "dan's home directory" and put them in a widely accepted location. If it helps, I am running CentOS and I have a standard installation of Apache using yum. Also, what should

[us...@httpd] "Perfect" Transparent Proxy Setup?

2010-01-18 Thread Brian Kim
Hi. All. I am thinking a proxy system like a magic box. Let's say that we have a gateway where an interface 0 is for internal network and an interface 1 is for outsite. In front of the gateway, I would like to install my proxy system with two interface cards(interface 3 and interface 4) and to ma

[us...@httpd] locale for cgi in apache

2010-01-18 Thread Kaustubh Deorukhkar
Hello, How does a CGIs pick up the locale when invoked from apache? I have a few CGIs written in C and installed in apache server. When these CGIs are invoked the default locale is always "C". I check it using setlocale(LC_ALL, NULL). Now even if I change the system locale to say German, restart t

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports 'not an image file'

2010-01-18 Thread Frank Gingras
J. Bakshi wrote: On Mon, 18 Jan 2010 12:03:36 +0100 "Marcin 'Rambo' Roguski" wrote: OP posted the script that "checks" MIME type of POST attachment, but I have a hunch the web server doesn't have write access to the temporary upload directory specified in php.ini. Hints to that are that php

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports 'not an image file'

2010-01-18 Thread J. Bakshi
On Mon, 18 Jan 2010 12:03:36 +0100 "Marcin 'Rambo' Roguski" wrote: > > OP posted the script that "checks" MIME type of POST attachment, but I > have a hunch the web server doesn't have write access to the temporary > upload directory specified in php.ini. Hints to that are that php > isn't setti

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports "not an image file"

2010-01-18 Thread J. Bakshi
On Mon, 18 Jan 2010 10:51:39 +0100 Krist van Besien wrote: > On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi > wrote: > > I can see the files are transferred but after > > that it simply reports "Not an Image file". > > What is "it" here. Is this error message logged in a logfile > somewhere, or is

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports "not an image file"

2010-01-18 Thread J. Bakshi
On Sat, 16 Jan 2010 19:37:36 +0100 Marcin 'Rambo' Roguski wrote: > What about temporary files? Are they uploaded or not? > From what you're writing, neither size or type are > identified (should be set after a successful completion > of POST request). > > Can you add > > print_r($GLOBALS['HTT

Re: [us...@httpd] UserDir and ~

2010-01-18 Thread Eric Covener
On Mon, Jan 18, 2010 at 6:00 AM, Daniel Ruiz Molina wrote: > Hi, > > I would to like to do some type of rewrite for remove ~ in connections like > http://mydomain/~user. UserDir is, by default, public_html and directory for > it is /home/*/public_html. Users need to write http://mydomain/~user to

Re: [us...@httpd] Need help in Apache's Request reading processes

2010-01-18 Thread Eric Covener
On Mon, Jan 18, 2010 at 1:40 AM, Pravesh Rai wrote: > User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; > Trident/4.0; GTB6.3; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR > 2.0.50727; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR .5.30729)\r\n > User-Agent: Mozilla/4.0 (compatible;

[us...@httpd] UserDir and ~

2010-01-18 Thread Daniel Ruiz Molina
Hi, I would to like to do some type of rewrite for remove ~ in connections like http://mydomain/~user. UserDir is, by default, public_html and directory for it is /home/*/public_html. Users need to write http://mydomain/~user to get their own pages, but now I'm interested in doing some rewrit

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports 'not an image file'

2010-01-18 Thread Marcin 'Rambo' Roguski
Dnia 18 Stycznia 2010, 10:51, Pn, Krist van Besien napisał(a): > On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi > wrote: > >> I can see the files are transferred but after >> that it simply reports "Not an Image file". > > What is "it" here. Is this error message logged in a logfile > somewhere, or i

Re: [us...@httpd] How to set multisites: same domain, different path, one ip address

2010-01-18 Thread Krist van Besien
2010/1/16 Jiongliang Zhang : > so when I using mydomain:80 and mydomain:8080, I can request both of them. > But now I have new reqirements, I hope using mydomain/mailman and > mydomain/redmine > to identify them, just like: > >     http://mydomain/mailman >     http://mydomain/redmine > > on ubunt

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports "not an image file"

2010-01-18 Thread Krist van Besien
On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi wrote: > I can see the files are transferred but after > that it simply reports "Not an Image file". What is "it" here. Is this error message logged in a logfile somewhere, or is it displayed in your webbrowser? Krist -- krist.vanbes...@gmail.com kr..