server-configuration

How can I turn on DynamicCompression feature of IIS programmatically?

I'm making an installer program for my web application. My web application uses CSS and JS heavily, so I want to enable both Static and Dynamic HttpCompression for IIS7/7.5. It needs 2 steps: I can modified the web.config, put <httpcompression> tag, it's ok. DynamicContentCompression must be turned on in Windows Feature to make httpC...

How reliable are URIs like /index.php/seo_path

I noticed, that sometimes (especially where mod_rewrite is not available) this path scheme is used: http://host/path/index.php/clean_url_here --------------------------^ This seems to work, at least in Apache, where index.php is called, and one can query the /clean_url_here part via $_SERVER['PATH_INFO']. PHP even kind of advertises t...

Tomcat 6 | What's the significance of antiResourceLocking & antiJARLocking?

Hi, I am working on a project where we'll be using Tomcat 6.0.20 for Development and production. I came across some issues related to hot deployment which requires one to set Context.antiResourceLocking to false in server.xml. I had some questions on antiResourceLocking and antiJARLocking. I have gone through the reference at http://to...

How to correctly configure server for Symfony (on shared hosting)?

Hi! I've decided to learn Symfony and right now I am reading through the very start of the "Practical Symfony" book. After reading the "Web Server Configuration" part I have a question. The manual is describing how to correctly configure the server: browser should have access only to web/ and sf/.../ directories. The manual has great i...

Is there a way to setup multiple authorization rule sets for a single directory in an Apache config file?

I have a test site set up as a virtual host in my Apache2 config file. It already has a directive for the root folder that first only authorizes access from a specific set of IP addresses, and then only after the user is also authenticated by Basic HTTP Auth. I would now like to add 127.0.0.1 to the list of allowed IP addresses (the ap...

How to configure Ruby ob Rails for XAMP server?

I have installed Ruby On Rails Application on my harddrive, and i am using XAMPP server. But i was not able to configure it to use on XAMPP server, do Ruby on Rails run on XAMPP server or need some other server like webrick or lighttpd...?? ...

video not found or access denied.

Hello Experts, I have made a website in ASP.NET 3.5 With C#.In the default page we have a swf player.We have one video file.The file format is .mp4. The Code is here:- type="application/x-shockwave-flash" id="player2" name="player2" src="images/player.swf" width="350" height="280" allowscriptaccess="always" allow...

How do I run Apache (httpd) and Tomcat together?

I recently got projects that runs on Struts and I am expecting more JSP coming ahead. After googling the question, I was led to blogs of people who tried to do the same. Those blogs weren't exactly a step by step procedure of how they did it but more like a reference in case they need to do something the same in the future. In some cas...

Cataloging web/db/app servers in an organisation - Excel/Wiki/???

I've inherited "ownership" of various servers (the hardware itself and server software that runs on in - lots of Apache/Oracle/MySQL) with a wide variety of configurations. I'm a developer - I've been thrown into a Team Leader/Systems Support role for some very unfortunate reasons. Do any of you guys in the SysAdmin world have any trick...

htaccess help, removing a string from the URL

Hi there, I am wondering, is it possible to remove index.php from an URL? Basically on some pages in a site I have this structure, http://www.domain.com/index.php/members/register, but other pages I have URL structures like this, http://www.domain.com/category/products/id/5, I want to know is it possible with htaccess to remove the in...

OSQA apache memory footprint

I have an OSQA (python / django q&a application) installation serving 8 different sites. The sites are all in development, receiving minimal traffic. The server is a virtual private server with 512 mb of ram. Apache is only serving dynamic pages with mod_wsgi behind Nginx. I can't stop Apache consuming more and more memory with each req...