still see .htaccess and .htpasswd trough virtual host

Hello,

please configure your mailer to wrap lines below 80 characters per line. 72 to 75 is usually OK.

Thank you.

On 08.07.10 13:40, J. Bakshi wrote:

is this in server config or in some virtualhost or directory section? Is there any section of the host you are referring to?

still see .htaccess and .htpasswd trough virtual host

On Thu, 2010-07-08 at 13:40 +0530, J. Bakshi wrote:

Are you sure you’re not seeing cached copies?

Order allow,deny Deny from all

This prevents you from opening (GET /.htaccess) those files.

If you want to prevent them from being seen in a directory listing, use “IndexIgnore”

http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexignore

Mark.

still see .htaccess and .htpasswd trough virtual host

Hello list,

I have become little confused and hope to get some help. I have a suse 11.2 server running Apache/2.2.10 (Linux/SUSE) with some virtual hosts. I already have the following in httpd.conf file

“““““““ AccessFileName .htaccess

# # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Order allow,deny Deny from all “““““““““““““

But still I can read the .htaccess and .htpasswd file through browser, when visit the virtual host. But if I add the above config at the virtual host itself, it works well. So the virtualhosts bypass the config already there in httpd.conf. Do I need to write the code for each and every virtualhost then ? Not possible to define at any common point just once ?

Please let me know, Thanks

Name-based virtual hosting SSL (seems to work)

Thanks, Eric.

I’m a little confused. I _think_ you’re saying that the vhost-scope configuration _for the SSL Certificate stuff only_ will be served up to all, but the remaining directives (Directory, FastCGI stuff, etc) will be on a per NVH basis? At least those are the results that I’m seeing.

Which, if I’m reading this correctly, should be a complete non-issue, assuming that all sites are using the same wildcard certificates, right?

The FAQ for that release should say that the vhost-scope SSL configuration of the first-listed NVH will be used, limiting the certificate that can be prevented to the default vhosts’.

KDE: rearranging virtual desktops

Hi,

is it possible to arrange the virtual desktops under KDE in such a way that they make a square? I want 4×4 virtual desktops, i. e. four rows with four culumns each.

KDE makes only two columns with eight virtual desktops instead.

basic 2 virtual hosts configuration

to deploy 2 virtual hosts in Tomcat 5.5.29 (no Apache) what more than the server.xml file below and a context.xml per each host in Catalina do you need to set up?

Where do I set path, like for “/”? Alright in the context file (see below)?

server.xml:

Fragment context settings in /Catalina/kron/ROOT.xml (similar for the other site:

:

This set up doesn’t serve a pages physically put in any of the ROOT folders of the sites. I get blank pages.

GUIDES? Anyone that can point to a guide that focuses only on the steps necessary to configure Tomcat 5.5.x for 2 or more virtual hosts? Preferably without involvement with Apache.

virtual hosting different in Tomcat 5.5 and 6?

I have Tomcat 5.5.x installed and “Pro Apache Tomcat 6″. Do I define virtual hosts in server.xml in Tomcat 5.5 as well?

Create virtual sound device

Hi!

I’m trying to set up mumble on Gentoo. Generally all output is passed to the rear channels to some speakers. But sometimes it would be preferable that some output is passed to a headset connected with the front output, e.g. mumble conversations. My problem is, that mumble only seem to list physical devices but not “virtual” ones configured by this way: http://alsa.opensrc.org/.asoundrc#Splitting_front_and_rear_outputs. Do you have any suggestion how I can create a virtual sound device that seem to be a physical one for mumble? Or is there a wrapper-like solution that reroutes output only for mumble?

Kind regards Patrick TrĂ¼be

Recommended way to setup Virtual Host

It’s very simple to setup NameBase Virtual Host in Apache:

Like we have server with 10.0.0.1 IP which should serve over port 80 and we want to setup Apache for domains abc.com and xyz.com. Follow below given notes.

Add following lines in httpd.conf file:

NameVirtualHost 10.0.0.1:80

ServerName abc.com DocumentRoot /path/to/doc/root CustomLog /path/to/create/access/log/for/abc_access.log common

ServerName xyz.com

DocumentRoot /path/to/doc/root CustomLog /path/to/create/access/log/for/xyz_access.log common

Reload Apache. This should work. ;-)

Thanks, Manoj

Hi,

Can anyone tell me the recommended way to setup Virtual Host with one Physical IP on the server and multiple domains. ?

Name Based Virtual Host Vs IP Based Virtual Host what is the best to choose/

Regards Nasir

NameVirtualHost Directive – - – - Multiple SSL virtual hosts

On Sun, Jun 6, 2010 at 8:04 PM, Jeff Shearer wrote:

What you are missing is, amongst others, that the message you get is a “Warming (“[warn]“) not an error. There are two situations which can trigger this warning: – A NameVirtualHost without any blocks. – A second NameVirtualHost statement identical to an existing one.

The warning serves the purpose of warning you that you might have overlooked something, but it is not an error. Having a duplicate NameVirtualHost statement does not cause any malfunctioning. It’s just a bit untidy.

Krist