Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-08 Thread Frank Gingras
On Mon, Jul 8, 2024 at 4:18 AM Michael Osipov wrote: > On 2024/07/04 13:57:06 Frank Gingras wrote: > > On Thu, Jul 4, 2024 at 8:44 AM Michael Osipov > wrote: > > > > > Folks, > > > > > > please consider the following example: > > > > > > > > ServerAdmin m...@example.com > > > > ServerNa

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-08 Thread Michael Osipov
On 2024/07/04 13:57:06 Frank Gingras wrote: > On Thu, Jul 4, 2024 at 8:44 AM Michael Osipov wrote: > > > Folks, > > > > please consider the following example: > > > > > > ServerAdmin m...@example.com > > > ServerName foo.example.com > > > ServerAlias foo.sub.example.net > > > Doc

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-07 Thread Frank Gingras
On Sun, Jul 7, 2024 at 5:09 AM rexkogit...@gmx.at.INVALID wrote: > Hi, > > well, Apache httpd uses SNI to decide which vhost to use. Otherwise, it > would not even be possible to have multiple TLS secured domains on the same > port. However, this is indeed possible, but you have to put the into >

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-07 Thread rexkogit...@gmx.at.INVALID
Hi, well, Apache httpd uses SNI to decide which vhost to use. Otherwise, it would not even be possible to have multiple TLS secured domains on the same port. However, this is indeed possible, but you have to put the into multiple vhosts. These vhosts can be as similar as they share everything but

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-05 Thread Frank Gingras
On Fri, Jul 5, 2024 at 10:23 AM rexkogit...@gmx.at.INVALID wrote: > Hi Michael, > > > you can add any number of domain names to a TLS certificate. These entries > are known as SAN (Subject Alternative Name). So, you want a single TLS > certificate with multiple domain names instead of multiple T

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-05 Thread rexkogit...@gmx.at.INVALID
Hi Michael, you can add any number of domain names to a TLS certificate. These entries are known as  SAN (Subject Alternative Name). So, you want a single TLS certificate with multiple domain names instead of multiple TLS certificates each with a single domain name. Kind regards, rexkogitans

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-04 Thread Frank Gingras
On Thu, Jul 4, 2024 at 8:44 AM Michael Osipov wrote: > Folks, > > please consider the following example: > > > > ServerAdmin m...@example.com > > ServerName foo.example.com > > ServerAlias foo.sub.example.net > > DocumentRoot /usr/local/www/apache24/data > > ErrorLog "/var/lo

Re: [users@httpd] VirtualHost and SSLProtocol settings ignored.

2020-10-14 Thread Stefan Eissing
It could be that they match more strongly and surpass the file order. But I guess it will then switch all vhosts to TLSv1.2. > Am 14.10.2020 um 11:47 schrieb Thomas Plant : > > Thanks for the explanation. > I've read that using a dedicated IP for the Virtualhost would work? > > Am 14.10.2020 um

Re: [users@httpd] VirtualHost and SSLProtocol settings ignored.

2020-10-14 Thread Thomas Plant
Thanks for the explanation. I've read that using a dedicated IP for the Virtualhost would work? Am 14.10.2020 um 11:29 schrieb Stefan Eissing: There has been work done by Ylavic regarding this. I do not known in which release his changes made it. However, up to then, certain SSL* configs did o

Re: [users@httpd] VirtualHost and SSLProtocol settings ignored.

2020-10-14 Thread Stefan Eissing
There has been work done by Ylavic regarding this. I do not known in which release his changes made it. However, up to then, certain SSL* configs did only apply from the _first_ VirtuaLHost for a given port. Subsequent declarations in other vhosts had no effect. (This is probably all historical

Re: [users@httpd] VirtualHost and SSLProtocol settings ignored.

2020-10-14 Thread Thomas Plant
Am 14.10.2020 um 10:56 schrieb Thomas Plant: Hello, I have a virtualhost where i need to allow only TLSv1.2. Tried following config:   ServerName xx   ServerAlias xx .. ..  cut rest to shorten a bit ..   SSLEngine On   SSLProtocol -all +TLSv1.2   SSLCertificateFile /etc/letsencrypt/li

Re: [users@httpd] virtualhost always go to localhost

2019-10-03 Thread Eric Covener
> If i check the list of virtualhost this is what i get (apachectl -S): This output didn't show any virtualhosts. Is the config file you show Include'd somewhere? - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For a

Re: [users@httpd] virtualhost always go to localhost

2019-10-03 Thread Eric F
I'd start separate the sites (default, vhosts) into different paths. You have your 2 sites, within the default site (nesting). /opt/lampp/htdocs /opt/lampp/www/test1.dev /opt/lampp/www/test2.dev If it still doesn't work - the logs would tell something. /Eric On 10/3/19 14:48 , Raf Roger wrote:

Re: [users@httpd] VirtualHost and HTTPS

2018-08-30 Thread David Rush
Thanks for the additional info. David On Thu, Aug 30, 2018 at 1:01 AM, Gillis J. de Nijs wrote: > Also see https://wiki.apache.org/httpd/NameBasedSSLVHosts > > As a rule, it is impossible to host more than one SSL virtual host on the >> same IP address and port. > > This is because Apache needs

Re: [users@httpd] VirtualHost and HTTPS

2018-08-30 Thread Gillis J. de Nijs
Also see https://wiki.apache.org/httpd/NameBasedSSLVHosts As a rule, it is impossible to host more than one SSL virtual host on the > same IP address and port. This is because Apache needs to know the name of the host in order to > choose the correct certificate to setup the encryption layer. T

Re: [users@httpd] VirtualHost and HTTPS

2018-08-29 Thread Jonathan Sélea
It is. If you try to disable myhost.domain1.org - you will see that myhost.domain2.org will work over SSL/TLS :) On 2018-08-29 19:19, David Rush wrote: Ah, so SNI is dependent on the operating system, not the version of Apache HTTPD installed? I had read about SNI and understood the basics

Re: [users@httpd] VirtualHost and HTTPS

2018-08-29 Thread David Rush
Ah, so SNI is dependent on the operating system, not the version of Apache HTTPD installed? I had read about SNI and understood the basics of it, but assumed that it was a function of HTTPD version rather than older OS version. Thanks for your help. David On Wed, Aug 29, 2018 at 11:00 AM, Jonat

Re: [users@httpd] VirtualHost and HTTPS

2018-08-29 Thread Jonathan Sélea
I am very sure that this has to do with the fact that older machines simply does not have support for SNI. On 2018-08-29 16:28, David Rush wrote: I'm running httpd 2.4.12 on Windows Server 2003. We have things set up and working with http and https using the primary host name (fully qualified

Re: [users@httpd] VirtualHost Problems

2018-03-24 Thread Eric Covener
You can use httpd.exe -S On Sat, Mar 24, 2018 at 3:23 PM, Jerry Malcolm wrote: > > On 3/24/2018 2:04 PM, Eric Covener wrote: >> >> On Sat, Mar 24, 2018 at 2:52 PM, Jerry Malcolm >> wrote: >>> >>> I am having a problem with my virtual host config. Here's the basic >>> config: >>> >>> >>>

Re: [users@httpd] VirtualHost Problems

2018-03-24 Thread Jerry Malcolm
On 3/24/2018 2:04 PM, Eric Covener wrote: On Sat, Mar 24, 2018 at 2:52 PM, Jerry Malcolm wrote: I am having a problem with my virtual host config. Here's the basic config: ServerName domainA Redirect permanent / https://domainA/

Re: [users@httpd] VirtualHost Problems

2018-03-24 Thread Eric Covener
On Sat, Mar 24, 2018 at 2:52 PM, Jerry Malcolm wrote: > I am having a problem with my virtual host config. Here's the basic config: > > >ServerName domainA >Redirect permanent / https://domainA/ > > > >ServerName domainA >[n

Re: [users@httpd] VirtualHost configuration not working?

2015-10-11 Thread Felix Rubio Dalmau
I think I have managed to solve the problem :-) actully, seems I created it as well :S. First: I thought that by setting a two virtualhosts virtualhost named 000-default, set to listen *:80 and *:443 respectively, I would have made those virtualhosts the default for all the interfaces. However,

Re: [users@httpd] VirtualHost configuration not working?

2015-10-05 Thread Yann Ylavic
On Sat, Oct 3, 2015 at 4:25 PM, Felix Rubio Dalmau wrote: > > After this change, if I ping site3.example.com, the address is properly > resolved to the vpn (10.8.0.1). Then, from Firefox, I access > http://site3.example.com and the URL is magically converted into > https://site3.example.com, an

Re: [users@httpd] VirtualHost configuration not working?

2015-10-03 Thread Felix Rubio Dalmau
Hi Yann, At first, I have executed apachetl -S and this is what I have obtained: === 10.8.0.1:443 site0.example.com 10.8.0.1:80is a NameVirtualHost default server site0.example.com port 80 namevhost site0.example.com port 80 namevho

Re: [users@httpd] VirtualHost configuration not working?

2015-09-30 Thread Yann Ylavic
Hi, can you provide the output of "apachectl -S"? You may hide real names with site1, site2, ... but please keep one name per orinal name. Regards, Yann. On Tue, Sep 29, 2015 at 8:07 PM, Felix Rubio Dalmau wrote: > Hi Marat, httpd-users :) > > > > I have updated the configuration of my apache.

Re: [users@httpd] VirtualHost configuration not working?

2015-09-30 Thread Marat Khalili
I suspect something beyond virtualhost selection. Can you please: 1. Share more about the way site directories on server are specified. DocumentRoot, Alias'es, Redirect's etc. 2. Share access logs to make sure Apache is accessing same virtualhosts we think it is accessing. :) Also, is it po

Re: [users@httpd] VirtualHost configuration not working?

2015-09-29 Thread Felix Rubio Dalmau
Hi Marat, httpd-users :) I have updated the configuration of my apache. Following these lines there is the updated version. The behavior now is: a) If I type in the url box the non-ssl address of site1 IN FIREFOX, It gets transformed into the ssl address of site0, and its conten

Re: [users@httpd] VirtualHost configuration not working?

2015-09-29 Thread Marat Khalili
This is very strange. Even when Apache cannot determine request host name, it loads the first defined virtual host, not the last one. I wonder, in your case, what will it load if you disable last two virtual host records? (BTW, it's usually either Listen 80, or Listen specific-ip:80, but I do

Re: [users@httpd] VirtualHost configuration not working?

2015-09-29 Thread felix rubio dalmau
Hi, No, the reason is that site2 holds a cardav server, that is accessed by other of the sites on the same host. The idea behind this is that I can save all the time spent in encryption (the SSL layer) if I know that both sites are local. I am testing this configuration from a client on the VP

Re: [users@httpd] VirtualHost configuration not working?

2015-09-28 Thread Marat Khalili
Hello, 127.0.0.1 is only configured for site2 -- is it a bug or a feature? Are you testing it from the same host, or via proxy on the same host? -- With Best Regards, Marat Khalili On September 28, 2015 10:06:04 PM GMT+03:00, Felix Rubio wrote: >Hi everybody :-) > >I have an Apache server (2

Re: [users@httpd] VirtualHost conditionless HSTS

2014-11-13 Thread Zoltán Halassy
Oh thanks, this is exactly I was looking for. I totally missed it in the documentation. It's there. Thank you. 2014-11-13 14:30 GMT+01:00 Eric Covener : >> Neither provides the HSTS header to an unauthenticated user. Is there >> a simple way to inject the HSTS (or any) header to unauthenticated >

Re: [users@httpd] VirtualHost conditionless HSTS

2014-11-13 Thread Eric Covener
> Neither provides the HSTS header to an unauthenticated user. Is there > a simple way to inject the HSTS (or any) header to unauthenticated > users? If it's the 401 that you want to have the header, you'll need Header always set ...

Re: [users@httpd] VirtualHost core error

2014-05-15 Thread Andy Canfield
I get an error message, apparently from Apache. The error message appears briefly on the screen, and then disappears due to the login prompt. It does NOT appear in any log file. IMHO this is VERY bad form. I captured it by the crude technique of rebooting ten times and using a camera to photograp

Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Otis Dewitt - NOAA Affiliate
NameVirtualHost *:80 ServerAdmin webmaster@localhost ServerName www.morebearsmore.com ServerAlias morebearsmore.com On Thu, Jan 30, 2014 at 1:30 PM, Josh Stratton wrote: > I tried that. I'm including the actual config file in

Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Otis Dewitt - NOAA Affiliate
Try NameVirtualHost *:80 "above " Thanks, Otis On Thu, Jan 30, 2014 at 1:30 PM, Josh Stratton wrote: > I tried that. I'm including the actual config file in sites-available if > it helps. > > > ServerAdmin webmaster@localhost > ServerName morebearsmore.com > ServerAlias www.moreb

Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Josh Stratton
I tried that. I'm including the actual config file in sites-available if it helps. ServerAdmin webmaster@localhost ServerName morebearsmore.com ServerAlias www.morebearsmore.com DocumentRoot /var/www/morebearsmore.com/public_html Options FollowSymLinks AllowOverride None Options I

Re: [users@httpd] virtualhost redirects to root on mobiles

2014-01-30 Thread Otis DeWitt
Try creating a server alias and restart apache. DocumentRoot /www/server1 ServerName example.com ServerAlias www.example.com Sent from my iPhone > On Jan 30, 2014, at 1:04 PM, Josh Stratton wrote: > > I setup an apache server a while back without a virtualhost and got > everything working f

Re: [users@httpd] virtualhost: both http and https too

2014-01-02 Thread Fred Miller
Please take me off this email list. I've already unsubscribed. On Tue, Dec 31, 2013 at 6:56 AM, Pol Hallen wrote: > Hi folks! I use debian 7 with apache2 and several virtualhost. > > Now I need for each site connect to it using http and https too. > > So, do I need add new https virtualhost con

Re: [users@httpd] virtualhost: both http and https too

2013-12-31 Thread Pol Hallen
> So, do I need add new https virtualhost config to default-ssl? or merge > ssl config to http virtual host? So, I've done exactly the same config file for http virtualhost and the rendering of browser is ok. I've added (debian) new https virtualhost to /etc/apache/site-available but the rendering

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-11 Thread Tom Evans
On Fri, Jan 11, 2013 at 1:57 PM, Tom Frost wrote: > Hi > > Thank you all for your replies, very helpful and much appreciated. > > I understand your thoughts on the IfDefine Proxy, as you can guess this is > something which Epages put in itself, not anything that I put in or use. > > When I remove

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-11 Thread Tom Frost
___ From: Igor Cicimov To: users Sent: Thursday, 10 January 2013, 21:47 Subject: Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution On 11/01/2013 8:46 AM, icici...@gmail.com wrote: > > > On 11/01/2013 4:54 AM, "Adam Dosch" wrote:

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Igor Cicimov
On 11/01/2013 8:46 AM, icici...@gmail.com wrote: > > > On 11/01/2013 4:54 AM, "Adam Dosch" wrote: > > > > On Thu, 10 Jan 2013 17:15:48 +, Tom Evans wrote: > >> > >> On Thu, Jan 10, 2013 at 12:03 PM, Tom Frost wrote: > >>> > >>> Hi Adam > >>> > >>> Thanks for your reply. > >>> > >>> Yes, I did

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Igor Cicimov
On 11/01/2013 4:54 AM, "Adam Dosch" wrote: > > On Thu, 10 Jan 2013 17:15:48 +, Tom Evans wrote: >> >> On Thu, Jan 10, 2013 at 12:03 PM, Tom Frost wrote: >>> >>> Hi Adam >>> >>> Thanks for your reply. >>> >>> Yes, I did c/p and then replace the domains with the placeholders. >>> >>> I too noti

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Adam Dosch
On Thu, 10 Jan 2013 17:15:48 +, Tom Evans wrote: On Thu, Jan 10, 2013 at 12:03 PM, Tom Frost wrote: Hi Adam Thanks for your reply. Yes, I did c/p and then replace the domains with the placeholders. I too noticed that there wasnt any entry for url1.mydomain.com, and I have been down the

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Tom Evans
On Thu, Jan 10, 2013 at 12:03 PM, Tom Frost wrote: > Hi Adam > > Thanks for your reply. > > Yes, I did c/p and then replace the domains with the placeholders. > > I too noticed that there wasnt any entry for url1.mydomain.com, and I have > been down the same process you advised of starting with on

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Eric Covener
> > > ServerName url1.mydomain.com > ServerAlias surl1.mydomain.com > VirtualHost configuration: > 127.0.0.1:443 localhost (/etc/httpd/conf.d/ssl.conf:81) > Syntax OK > > So, again, as you mentioned, Apache doesnt know what to do with > url1.mydomain.com. Is this because the VirtualHost

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Tom Frost
apachectl -t -D DUMP_VHOSTS' and from a web browser.  From there once you get it nailed down, then do any merging for maintenance sake on your .conf files. Hope that helps. -A > > - >  FROM: Adam Dosch >  TO: Tom Frost ; users@httpd.apache.org >  SENT: Thur

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-09 Thread Adam Dosch
-t -D DUMP_VHOSTS' and from a web browser. From there once you get it nailed down, then do any merging for maintenance sake on your .conf files. Hope that helps. -A - FROM: Adam Dosch TO: Tom Frost ; users@httpd.apache.org SENT: Thursday, 3 January 2013, 19:2

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-09 Thread Tom Frost
Ah yes, sorry, there is the standard: Include conf.d/*.conf I will try commenting the zzz-epages-*.conf Thanks Tom From: Tom Evans To: users@httpd.apache.org; Tom Frost Sent: Wednesday, 9 January 2013, 9:41 Subject: Re: [users@httpd] VirtualHost

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-09 Thread Tom Evans
On Tue, Jan 8, 2013 at 1:33 PM, Tom Frost wrote: > Hi Tom > > Dont think so, the different epages configs are included like this: > > Include /etc/httpd/conf.d/zzz-epages-*.conf > > And there is only one zzz-epages-httpd.conf > > Thanks > > Tom > And nothing else is doing something like "Include

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-08 Thread Tom Frost
2013, 15:42 Subject: Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution On Mon, Jan 7, 2013 at 3:02 PM, Tom Frost wrote: > Hi > > Thanks for your reply Adam. > > The output requested is: > > VirtualHost configuration: > 127.0.0.1:443 

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-07 Thread Tom Evans
On Mon, Jan 7, 2013 at 3:02 PM, Tom Frost wrote: > Hi > > Thanks for your reply Adam. > > The output requested is: > > VirtualHost configuration: > 127.0.0.1:443 localhost (/etc/httpd/conf.d/ssl.conf:81) > wildcard NameVirtualHosts and _default_ servers: > *:80 is a Name

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-07 Thread Tom Frost
g the _default_ anymore, just both *:80. Thanks again, Tom From: Adam Dosch To: Tom Frost ; users@httpd.apache.org Sent: Thursday, 3 January 2013, 19:28 Subject: Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution Tom, I

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-04 Thread Tom Frost
ld like to not change them if possible, but I have tried commenting out the IfDefine tags around the VirtualHost, and still to no avail. Thanks again From: Igor Cicimov To: users Sent: Thursday, 3 January 2013, 22:24 Subject: Re: [users@httpd] VirtualHost con

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Igor Cicimov
t vhost will not be active at all due to IfDefine condition _______ > From: Tom Frost > To: "users@httpd.apache.org" > Sent: Thursday, 3 January 2013, 13:58 > Subject: Re: [users@httpd] VirtualHost configuration not working as expected with ePages solutio

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Adam Dosch
Tom, I'd be curious what the output of your 'apachectl -t -D DUMP_VHOSTS' looks like? I've come across this problem as well in a related degree, and interrogating the output of the 'DUMP_VHOSTS' above will at least tell you the top-to-bottom order your vhost requests will travel down in your

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Tom Frost
t I'm honestly not sure what is what. Thanks again for your help, any more suggestions would be appreciated. - Original Message - From: Eric Covener To: users@httpd.apache.org; Tom Frost Cc: Sent: Thursday, 3 January 2013, 15:14 Subject: Re: [users@httpd] VirtualHost configuration not

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Eric Covener
On Thu, Jan 3, 2013 at 8:58 AM, Tom Frost wrote: > Hi > > I have changed both VirtualHost definitions to *:80 and NameVirtualHost has > the same, however both whichever hostname I use I still get the same site. > Does it matter that the VirtualHost definitions are in separate config What hostname

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Yehuda Katz
On Thu, Jan 3, 2013 at 9:01 AM, Tom Frost wrote: > Just to clarify, this is how the conf files look now: > > httpd.conf: > > NameVirtualHost *:80 > > > > DocumentRoot /var/www/html/path/ > ServerName url2.mydomain.com > ServerAlias url2.mydomain.com > > > epages.conf: > > > > ServerName url1.

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Tom Frost
: Thursday, 3 January 2013, 13:58 Subject: Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution Hi I have changed both VirtualHost definitions to *:80 and NameVirtualHost has the same, however both whichever hostname I use I still get the same site. Does it m

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Tom Frost
Covener To: users@httpd.apache.org; Tom Frost Sent: Thursday, 3 January 2013, 12:02 Subject: Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution > > These have to be the identicalvalues for name-based vhosts to treat them as part of a set. If you

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Eric Covener
> > These have to be the identicalvalues for name-based vhosts to treat them as part of a set. If you don't care what IP address is used, use *:80 for both. If you do care, use t my.ip.add.res:80 for both. NameVirtualHost should have again an identical argument. -- Eric Covener cove...@gmail.

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread Tom Frost
: Thursday, 3 January 2013, 11:36 Subject: Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution What Apache version are you running? Have you added something like below in httpd.conf NameVirtualHost your_ip_address:80 then DocumentRoot /var/www/html/path

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-03 Thread linuxsupport
What Apache version are you running? Have you added something like below in httpd.conf NameVirtualHost your_ip_address:80 then DocumentRoot /var/www/html/path ServerName another.url.com ServerAlias another.url.com Replace your_ip_address with the IP of the machine Apache is running on On T

Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Antonio Moreno
Hi all, You can review the rules of the reference manual of apache server, RedirectMatch is equivalent to |Redirect | http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirectmatch an introduction to redirect: http://www.webma

Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Igor Cicimov
There is more than one solution. You can use RedirectMatch with negation or RewriteRule with negation or RewriteCond combined with RewriteRule. On 18/12/2012 10:19 PM, "Coert Waagmeester" wrote: > > > On 2012/12/18 11:53 AM, Coert Waagmeester wrote: > >> Hello all, >> >> We run a webserver with

Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Daniel Gruno
On 12/18/2012 12:18 PM, Coert Waagmeester wrote: > > > On 2012/12/18 11:53 AM, Coert Waagmeester wrote: >> Hello all, >> >> We run a webserver with multiple domains pointing to it. >> >> Only one DNS name is used to serve our website. >> All the other DNS names (which exist for purposes other tha

Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Coert Waagmeester
On 2012/12/18 11:53 AM, Coert Waagmeester wrote: Hello all, We run a webserver with multiple domains pointing to it. Only one DNS name is used to serve our website. All the other DNS names (which exist for purposes other than www) I redirect to our main DNS name. ServerName mysvcname.n

Re: [users@httpd] virtualhost on localhost with .htaccess

2012-01-07 Thread Steve Swift
That looks about right. The only reason (that I can think of) for using .htaccess files is if you want to devolve control of a virtualhost to the person who has write access to the documentroot (where you'd normally store the .htaccess file, thought they can also be used in subdirectories as well).

Re: [users@httpd] virtualhost on localhost with .htaccess

2012-01-06 Thread Knute Johnson
I'll preface this with I'm not an expert but why not just put whatever you have in the htaccess file in your Directory section. Everything is in one place. I don't think you need to modify httpd.conf. If it works it's probably good. Alain Roger wrote: >Hi, > >on my local computer (localhost

Re: [users@httpd] VirtualHost configuration and REMOTE_ADDR variable

2011-08-08 Thread Petr Hracek
Thank you. I have found that problem in script was with using REMOTE_ADDR variable instead of HTTP_X_FORWARDED_FOR variable. Dne 8. srpna 2011 13:59 Eric Covener napsal(a): >> But when I go to the index.cgi page then REMOTE_ADDR is fill up with >> 127.0.0.1 instead of 192.168.0.10. >> Where I ha

Re: [users@httpd] VirtualHost configuration and REMOTE_ADDR variable

2011-08-08 Thread Eric Covener
> But when I go to the index.cgi page then REMOTE_ADDR is fill up with > 127.0.0.1 instead of 192.168.0.10. > Where I have made mistake in apache2 configuration? When the proxy makes a connection to 127.0.0.1, your OS implicitly assigns a local address of 127.0.0.1 for the "outgoing" side of that

Re: [users@httpd] VirtualHost and Location

2011-03-03 Thread Igor Galić
- Original Message - > Good Evening Everybody, > > I was wondering if it is possible to have a different requirement for > a Location directive on different virtual host > > e.g. > suppose I have two virtualhosts declaration in two different file > called p.abc.net and q.abc.net in a sin

Re: [users@httpd] VirtualHost Question

2011-02-09 Thread IrishStudent76
Hi Eric, I believe that I've sorted the issue, it appears to be the route to the public index page. I'm following a book in learning the zend framework but it appears to have a few typos and lack of information in general. Thanks for your help. Graham Eric Covener wrote: > >> My problem is

Re: [users@httpd] VirtualHost Question

2011-02-07 Thread Eric Covener
> My problem is that if I enter http://sqaure/ I receive a 403 error "You > don't have permission to access / on this server". However if I enter > http://square/public I the default zend framework index.php page appears. What does your error log say? -

Re: [users@httpd] VirtualHost Question

2011-02-07 Thread IrishStudent76
Ok I;m now at the following situation with this. I've edited my settings for Apache by following this page http://foundationphp.com/tutorials/apache22_vhosts.php I have moved my DocumentRoot to c:/htdocs I have created a folder c:/WebDocs. I've edited my httpd-vhosts.conf file to the following

Re: [users@httpd] VirtualHost Question

2011-02-06 Thread IrishStudent76
Hi Eric, I tried your suggestion but all that is displayed still is the itWorks! page not the zend framework page. Any ideas? I'm heading to bed but will answer any replies tomorrow Thanks for your help Graham Eric Covener wrote: > >>    DocumentRoot "C:/Program Files (x86)/Apache Software >

Re: [users@httpd] VirtualHost Question

2011-02-06 Thread Eric Covener
>    DocumentRoot "C:/Program Files (x86)/Apache Software > Foundation/Apache2.2/htdocs/square/public" Try moving your DocumentRoot out of Program Files -- there are some complications when you try to edit files there as a normal user then access them as a service. ---

Re: [users@httpd] VirtualHost & index.htm

2005-06-08 Thread leam
On Wed, Jun 08, 2005 at 10:28:21AM -0500, Beth Curotto wrote: > Is there a reason why site will only respond properly if I hard code the > index.htm ? > > Example: > > www.mowingandmore.net (not good) > > www.mowingandmore.net/index.htm(page displays correctly) > > Is there a directive

RE: [users@httpd] VirtualHost & index.htm

2005-06-08 Thread Beth Curotto
Thanks to all, again ! Beth On 6/8/05, Beth Curotto <[EMAIL PROTECTED]> wrote: > > Is there a reason why site will only respond properly if I hard code the > index.htm ? > > Example: > > www.mowingandmore.net (not good) > > www.mowingandmore.net/index.htm(page displays c

RE: [users@httpd] VirtualHost & index.htm

2005-06-08 Thread Boyle Owen
Plain text please... What does "not good" mean? You need to give the precise status code since it is important, even if you don't think so. Taking a wild guess, check DirectoryIndex and Options Indexes - see docs for details. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message

Re: [users@httpd] VirtualHost & index.htm

2005-06-08 Thread Joshua Slive
On 6/8/05, Beth Curotto <[EMAIL PROTECTED]> wrote: > > Is there a reason why site will only respond properly if I hard code the > index.htm ? > > Example: > > www.mowingandmore.net (not good) > > www.mowingandmore.net/index.htm(page displays correctly) > > Is there a direc