I know that similar questions have been asked, but the available answers are not very clear, so please bear with me.
After setting up a few <VirtualHost>s in apache, I'd like to configure the _defualt_ ServerName so that it returns the 404 message. I.e., unless some explicitly available domain is specified in the Host http header, return…
<b>Serverwatch:</b> "The Apache Software Foundation runs its open source projects on a hierarchy of principally three levels, top-level projects (TLPs), sub-projects and incubated projects. Achieving the TLP status is a major milestone for an open source effort and this week Apache announced that six projects were being graduated to…
I have used code like this in apache configuration to protect locations with password
<Location ~ "/admin.*">
AuthType Basic
AuthName "Protected Area"
AuthUserFile /home/user/public_html/.htpasswd
Require valid-user
</Location>
is there a way to do the same thing using an htaccess file?
the locations I want to…
I wrote a shell script that runs on remote host to build source code with 'ant build' command, and then distribute the built binary to other servers.
However, right after Ant build is over successfully(I can see the command line output saying Build was successful), the ssh session ends and whatever commands after 'ant build' does not get…
Search as I may I have not found a solution to my problem here and I'm hoping the combined minds of StackOverflow will push me in the right direction.
My problem is as follows, I'm developing a print and print preview portion of a messaging system's user agent. I was given specific XSLT templates that after transforming XML will produce…
I am working on an application where the app user can create / delete queues . Also , he would be able to move a message from 1 queue to another, delete a message , rearrange the messages in the queue based on some filter.
One possible design is to use activemq for queues and apachecamel for various other operations having integrated…
So Im using Tapestry and trying to store a date from a beaneditform into a simple Access database. It wont work, Im getting Null pointer exceptions and I cannot understand why.
String onSuccess()
{
System.out.println("in on success!");
String nextPage = null;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
connection…
This is a licensing question about the Dalvik and J2SE core libraries. In particular the license governing java.util.concurrent.SynchronousQueue.
The license header of the class in the JDK source states that it is GPLv2 only (see grepcode).
However, the same file in the Dalvik core libraries seems to be governed by the Apache 2…
I have the domain example.com and the test.example.com running on apache server. For some reason when I try to visit test.example it is redirected to www.test.example and by consequence a Server not found error is displayed in the browser. Both .htaccess (root and subdomain folder) files are empty.
Additional facts
I have…
I am installing solr on my VPS (Ubuntu 9.10) via PuTTY.
First, I thought about installing Solr with Tomcat, but then after installing tomcat, I changed my mind and went for the Jetty which comes with Solr.
Now that I have setup everything on my Server, and try to start the "start.jar" file, I get some errors...
Here is…
Hi,
As part of our application we are using apache's xerces jaxp parser. When we deploy the application on weblogic9.2, we are getting the following error.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource…
I would like setup a Git server using the "Smart-HTTP" approach. However, I'm having difficulties getting it to work in Windows, and I'm new to Apache. My httpd.conf, in part:
SetEnv GIT_PROJECT_ROOT "d:/repositories"
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias /git/ "C:/Program…
I have a problem when I use Apache::DBI in child processes. The problem is that Apache::DBI provides a single handle for all processes which use it, so I get
DBD::mysql::db selectall_arrayref
failed: Commands out of sync; you
can't run this command now at
…
We are integrating a third party SOAP web services in our application. The WSDL is used with SOAPUI tool, where sample requests and responses worked fine.
When we try to integrate with apache Axis 1.3, where we tried WSDL2JAVA with the WSDL. We received the…
I'm trying to set up virtual hosts on Mac OS X. I've been modifying httpd.conf and restarting the server, but haven't had any luck in getting it to work. Furthermore, I notice that it's not serving files in the DocumentRoot mentioned in httpd.conf…
when i input a non-numeric content to a Integer types of field,
i have got a fault mesasge 'Not a number: 0.012A'. How to do ability to in prior to the Unmarshal for schema validation and output custom error messages?
I used cxf 2.6.1 and also…
I am configuring apache2 on debian and would like to allow only robots.txt to be accessed for searching engines, while other .txt files are restricted, I tried to add the followings to .htaccess but no luck:
<Files robots.txt>
Order…
I have an externally facing web server on our domain that we use for testing multiple sites. I have a site on this server that I want only people from within our intranet to view. How do I prevent requests originating from outside the…
Is it possible to have a separate php.ini file that overrides the default php.ini file for each virtual host? I'm running Apache/2.2.14, PHP 5.3.2-1.
For example I have several vhosts pointing to domains in my /var/www/ directory:
…
I am trying to run django on osx 10.7 (lion) with apache mod_wsgi and virtualenv.
My site works if I use the django testing server:
(baseline)otter:hello mathew$ python manage.py runserver
but it doesn't work when I run apache.…
I'm trying to learn how to configure an Apache HTTP server (with which I have no experience) someone else has setup in a VM running Ubuntu 8.04.
I know the server is running, since I get "<html><body><h1>It…
Using mod_rewrite I can construct a rule to respond with a clean error code (e.g. 404 not found, 410 gone, or 403 unauthorised) when a page is requested that I don't want to serve.
But frequently I get completely erroneous…
I'm setting up a local webapp. I have a CentOS-5 box that will be the webserver (Apache 2.2). I have another box (RHEL5) that will be used only for MySQL.
The data will be encrypted on the webserver via PHP before being…
Hello,
I have to locations (office and service providers). One DNS(bind) serving our domain as authoritative, and a service provider webserver with our corporate web on a private server.
So..
Now we are planing to…