Posted by Saba Ansari on July 8, 2010
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?
Posted by Saba Ansari on July 8, 2010
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.
Posted by Saba Ansari on July 8, 2010
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
Posted by Saba Ansari on July 1, 2010
On 01/07/2010 09:06, Ockleford Paul (NHS Connecting for Health) wrote:
Because your config is screwy. To use a technical term.
The appBase on the Host element is where Tomcat looks for apps to deploy. Apps are either a .war or a directory (actually an exploded .war file).
For an application placed in the appBase, Tomcat will automatically determine the ‘path’ it will be deployed at and the ‘docBase’, so you don’t need to specify either attribute.
You get the warning if the docBase is present and redundant.
As a rule of thumb, setting ‘path’ or ‘docBase’ is generally unnecessary – possibly even ‘a bad idea’.
p
Posted by Saba Ansari on June 19, 2010
I would like some feedback on a hosting provider for me. I have had little choice but to cancel at dailyrazor as they failed to provide me with what I was paying for. To my horror, I asked for new tomcat and was given a tomcat 5 again as was evident again by the presence of no lib in root and presence of common/lib and shared/lib. They also have not provided shell access. New host should therefore have (in order of importance) out the box tomcat 6 with expected tomcat 6 layout, shell access and ok price.
Posted by Saba Ansari on June 9, 2010
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
Posted by Saba Ansari on June 7, 2010
On Mon, Jun 7, 2010 at 3:20 AM, Nasir Zia wrote:
name-based is mandatory based on your requirements.
http://httpd.apache.org/docs/2.1/vhosts/name-based.html#using
Posted by Saba Ansari on June 7, 2010
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
Posted by Saba Ansari on June 3, 2010
Well, not quite there yet. As I said in my other msg, I was able to successfully hit http://myapps/index.html and get my dummy page to come up after adding “myapps” to my hosts file and adding a Directory entry in httpd.conf (I was getting a Access Forbidden before that):
Order allow,deny Allow from all
Now, when I attempt to reach down into subdirectories, I am encountering a 404 Not Found error. For example, I have a test folder under D:/webapps/myapps/ but when I point my browser to “http://myapps/test/index.html” it throws the 404 error.
There must be some directive in the httpd.conf file to allow sub-folders to be visible, right?
Thanks.
Jorge Schrauwen said the following on 6/3/2010 4:28 PM:
Posted by Saba Ansari on May 25, 2010
Eric Covener wrote:
What is confusing is the way that the start process pulls all the vhost files into one and deletes them, but does not have a ‘NameVirtualHost’ to go with that
I’ve run a clean install and it IS missing. I WILL replace SUSE when I do get a chance since this really does screw up managing each vhost. I’m just stuck with it on the hosting machines.