Any python libs for parsing apache config files?
Any python libs for parsing apache config files or if not python anyone aware of such thing in other languages (perl, php, java, c#)? As i'll be able to rewrite them in python. ...
Any python libs for parsing apache config files or if not python anyone aware of such thing in other languages (perl, php, java, c#)? As i'll be able to rewrite them in python. ...
Hi, is there a chance to use different location for apache's config files (on Windows)? Other than having to compile it myself and setting the proper #define HTTPD_ROOT value. Thx rezna ...
I've looked around but haven't been able to figure out if I should use both an ETag and a Expires Header or one or the other. What I"m trying to do is make sure that my flash files (and other images and what not only get updated when there is a change to those files. I don't want to do anything special like changing the filename or put...
I have a highly trafficked application on one debian machine and apache has started acting strange. Every time I start apache, tons of apache processes are spawned, the app doesn't load at all, and very quickly the whole machine freezes and must be powercycled to reboot. Here is what I get for top immediately after starting apache: ...
The situation is: I have Apache with mod_python on windows xp and my django project is not in the document root. The Django project location is defined with the tag. The django.root ist also defined there. All the urls work fine in the built-in server but unfortunately not in Apache. In some urls, especially the ones not pointing to the...
In my Apache 2 config I have a VirtualHost which looks something like this: <VirtualHost *:80> ServerName sub.domain.com # username:password sent on to endpoint RequestHeader set Authorization "Basic dXNlcm5hbWU6cGFzc3dvcmQ==" ProxyPass /xyz http://192.168.1.253:8080/endpoint ProxyPassReverse /xyz http://192.168.1.253...
Under my domain, one of the subdomain must be directed to one server that hosts the relevant applications, and the rest must be directed to another server that hosts the relavant applications. So, any requests to the url appa.example.com\* must be directed to one server, and any requests to the url appb.example.com\* must be directed to...
I have two sub domains that are located on different ports. www.myexample.com locates on port 83 blog.myexample.com locates on port 82 I have done the following to my Apache configuration file: httpd.conf I incude three conf files, proxyserver.conf, mainhtml.conf and sidehtml.conf The content of proxyserver.conf is NameVirtual...
On my Apache 2.x server at home, I have a number of virtual directories. I've set up my router so that I can access Apache from the internet. I need to keep one of those virtual dirs (/private) from being accessed outside my home network LAN. So given /private, how do I configure Apache to only serve requests to /private from 192.168...
I have a website with friendly urls. I want all url´s that end with .htm, .gif, .jpg, .css, .js be served directly by the Apache web server and the rest passed on to Tomcat. examples of dynamic url´s that should be forwarded to Tomcat: www.mysite.com/news/newsItem1 www.mysite.com/videos www.mysite.com/news/list.jsp examples of stati...
I just want to browse my Subversion code repositories and view files. Some of the file types, like .VBS, prompt me to open or save the file, but I just want to view it in the browser as plain text. Can Apache's httpd.conf file be modified to do this? I don't think it would be changed on the client (IE7) because then it would work the ...
Is there any way to get Apache to run a command/program every time a web page is requested? I know I could scan the logs for new entries every minute or so, but can I get Apache to directly call the command? There might be an option like this in one of the configuration files, but if there is I don't know what it is. My server is running...
The webserver hosting my website is not returning last-modified or expiry headers. I would like to rectify this to ensure my web content is cacheable. I don't have access to the apache config files because the site is hosted on a shared environment that I have no control over. I can however make configurations via an .htaccess file....
i am using a hosting company and it will list the files in a directory if an index.html is not there. However, it will use iso-8859-1 as the default encoding. if the server is apache, is there a way to change it to use UTF-8 as a default instead? Update: actually, i found that it is actually using a DOCTYPE of HTML 3.2 and then there ...
Is this how to use AND, OR for RewriteCond on Apache? rewritecond A [or] rewritecond B rewritecond C [or] rewritecond D RewriteRule ... something becomes if ( (A or B) and (C or D) ) rewrite_it. So it seems like "OR" is higher precedence than "AND"? Is there a way to easily tell, like in the (A or B) and (C or D) syntax? ...
We use Apache as a reverse proxy server. This has been working well, but I now need to have http://domain.com/sub1 proxy to serverA and http://domain.com/sub2 proxy to serverB. Is this possible? If so, what is the config for it? Here is my existing config: ... <VirtualHost 555.55.555.555:80> ServerName domain.com DocumentRoot c:/d...
Imagine you have a site API that accepts data in the form of GET requests with parameters, or as POST requests (say, with standard url-encoded, &-separated POST data). If you want to log and analyze API calls, the GET requests will be easy, because they will be in the apache log. Is there a simple way to get the POST data in the apache...
I can currently run either Django through mod_wsgi or PHP on my Apache server. My Django projects run at: http://localhost and source is at C:/django_proj My PHP projects run at: http://php.localhost and source is at C:/web If I turn both on, php.localhost and localhost go to the Django project. I've already set them up through Apache...
Hi, I have built a Twitter client that's only one page: index.html. When being used, it draws in content from JSON feeds to populate various columns. The issue is hardly any traffic is coming in from Google except for searches on the site's domain name. This is because Google only crawls index.html when it's blank and before the user ent...
I've this config in my apache2.conf <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections #...