I am trying to send xml to a java-based web service given to me by a thrid party via a c#.NET application, and I get the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error.
I have verified the xml against the schema, and I passed the memorystream I am using to hold the xml to an .xml file, then opened the file with...
What's a good email server to run web based email over apache 2.2?
...
I can't find any thorough explanation of the ivy dependency tag's conf attribute:
<dependency org="hibernate" name="hibernate" rev="3.1.3" conf="runtime, standalone -> runtime(*)"/>
See that conf attribute? I can't find any explanation (that I can understand) about the right hand side of the -> symbol. PLEASE keep in mind I don't k...
Hello all,
I have just looked at my error_logs for a particular site of mine which I haven't done in a while and in Apache's error_log i find hundreds of lines that have this same format:
[Mon Mar 16 19:20:03 2009] [error] [client xx.81.239.xxx] [Mon Mar 16 19:20:03 2009] [info] Executing "/home/get/public_html/fileReader.php" as UID 3...
I have the following directory structure:
--var
----trac
------company1
--------project1
--------project2
------company2
--------project3
--------project4
and i was wondering if theres a way to specify in httpd.conf to list the directories when i go to domain.com/trac. Currently i wrote:
<Location /trac>
Options Indexes
</Locatio...
So, I have a webapp with a fair amount of JSPs, servlets, alot of which are using IceFaces. Obviously, most of this will have to stay in Tomcat.
However, I've been told that static content (HTML, Images, etc.) is slower on Tomcat than a pure webserver like Apache. My understanding is that when you're using Tomcat as a stand-alone webse...
Say you have a legacy website running on an old code-base that offers certain functionality. The successor website is up and running, providing all the old functionality and more. For some time, there has been an HTML link on the old site pointing to the new one, for those users that care to click over.
Now, the legacy site is reachin...
I have a site, e.g. site.com
I would like users to be able to access it in their locale at site.com/somecity
This is similar to craigslist, but they do it with subdomains e.g. sfbay.craigslist.org
Using Apache HTTP server.
MySql for DB.
If you can provide a brief explanation and perhaps links to more thorough discussions, I would be qui...
Hey everyone,
I've made a simple site in Django. The urls I use are http::/www.example.com/nl/ and http://www.example.com/fr/.
My Django urls.py has the following line:
(r'^(?Pnl|fr)/', 'example.views.index'),
In example.views.index I check the language parameter. If it's 'nl' I show a template. If it's 'fr', I show a different templ...
OK, I understand what the messages means, but I'm really not sure what's causing it. I'm using Safari and the Web Inspector on Mac OS X, by the way.
I've got the following in my document head:
<script src="http://local.url/a/js/jquery.js" type="text/javascript"></script>
<script src="http://local.url/a/js/jquery.inplace.js" type="text/...
I have configured Apache to look for the presence of a maintenance page and redirect to that page if it is present:
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.
RewriteRule ^.*$ /system/maintenance.html [L]
This is fairly standard practice for deploying Ruby on Rails apps.
What ...
I want to be able to take a URL like:
http://www.example.com/valOne/valTwo/valThree/valFour/valFive
and convert it to:
http://www.example.com/index.php?one=valOne&two=valTwo&three=valThree&four=valFour&five=valFive
I really only need a few query parameters for my application so the Regular Expression could have thes...
I have have a mod_perl program that implements its own handler function (i.e. it's not using Apache::Registry).
I have a parser module written using Parse::RecDescent.
I have been successfully using the parser module in another similar mod_perl program for months with no issue.
Simply "use"ing the parser module in the my new mod_per...
I'm trying to develop a file uploading module on our new site that allows you to upload any file to our servers. The uploaded file is uploaded to /files, in which the following .htaccess to prevent users from executing i.e a .php file:
<Files *.*>
ForceType applicaton/octet-stream
</Files>
This triggers the browsers download window (a...
I currently host my company's website and blog on separate servers, reached by separate domain names - www.example.com and www.example.net. This is so I can give blog server access to our partners without compromising security on our main server. However, our SEO guy is now demanding that the blog be put on our main server, as www.exam...
Using apache on a windows server with mod_fastcgi, the C code looks like that:
void main() {
init();
while (FCGI_Accept() >= 0)
work();
cleanup();
}
When the service is taken down (i.e.: net stop apache2), the process terminates without getting to the cleanup code.
What am I missing here?
...
I am trying to set up as a front end reverse proxy with Haproxy forwarding requests to Apache web servers in the back end. My problem is that I have been unsuccessful in getting it to work with SSL requests using Apache.
I know that Haproxy can not handle SSL requests so I am trying to set up Apache to accept the clients requests on po...
I currently have a tomcat servlet 1 running under the ROOT:
api1.myhost.com:8080/
I'm using mod_proxy and simply forwarding all requests from
api1.myhost.com to this instance. This is working as of today.
I now have installed a second servlet 2 which runs under the same instance of tomcat (same IP address):
www.myhost.com:8080/servle...
Hi,
I am trying to make our subversion repository accessible via multiple URLs. To do so, I was thinking to use the LocationMatch directive. My configuration is:
<Location ~ "/(svn|repository)">
DAV svn
SVNPath /opt/svn
AuthzSVNAccessFile /etc/subversion/access
</Location>
The above configuration does NOT work ... Strange thing...
OK. I'm pretty much an apache HTTPD noob so please bare with me.
I have an issue with serving a large amount of VirtualHosts and I was wondering if there is a more efficient way of doing things.
I'm currently using the Location directive to serve a large amount projects from different departments, over 300 projects from 19 departments ...