I want to have Apache REQUIRE a restart in order for it to recognize any changes to htdocs.
Like the title says: I want to have Apache REQUIRE a restart in order for it to recognize any changes to htdocs. Is this possible? ...
Like the title says: I want to have Apache REQUIRE a restart in order for it to recognize any changes to htdocs. Is this possible? ...
I have a GPS unit that can send data over a TCP connection, but I don't have the ability to modify the message that it sends so it would come to my server in the form of an HTTP request - it can only send a message in a predefined format. So, I have the following questions: 1) Is it possible to have Apache handle a TCP connection that...
I have base64 encoded image. If I put it right into html it works: <img src="data:image/png;base64,..."/> But when I put all that base64 content into a separated file, it doesn't: <img src="image.base64.txt"/> I tried changing extension to .png, but it doesn't help. Any ideas? ...
I have just installed easyphp but its giving me error Apache: Unexpected end of Apache! how to start apache? ...
Hi, Lets' asume I have 1 domain on a Ubuntu Server in the following directory: /var/www/domain1.com/httpdocs and that the ip address is 100.100.100.100 If I go to www.domain1.com, Apache will server the files inside the httpdocs folder. How can I avoid that if the following file exists: /var/www/domain1.com/privatefile.html .. ap...
I'm using apache with mod_wsgi, and when I start apache and make a request, I see it make one invokation of the application. After a few minutes (the application gets reloaded), and now I see it make two invokations of the application per request. Why's that? Also: is there any easy way to initialize resources (database pools, for examp...
Hi, I'm having an issue with one user. No matter what he does he ends up getting throwing an ActionController::InvalidAuthenticityToken error. I have tried having him clear his browser's cache, cookies, etc. He gets this using both FireFox and Internet Explorer. I'm at a loss as to why this would be occurring for just him. Everythin...
On my main page, the navigation links are as follows: localhost/inventory/add localhost/inventory/view The code for those are: <a href='add'>Add Record</a> <a href='view'>View Records</a> and my .htaccess file is: RewriteEngine on RewriteRule ^([^/\.]+)/?$ ./index.php?url=$1 [L] RewriteRule ^([^/\.]+)/?/([^/\.]+)/?$ ./index.php?u...
When Django is up, it handles 500 errors. When Django is screwed, mod_python will throw a bare bones "Internal Server Error." This is described well in the docs at the following link: http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#error-handling My question: Is there a way to override that "Internal Server Error" page...
Hi, everyone, I want to ask a question about the Apache HttpClient and RESTful call. I want to use the Apache HttpClient to make a RESTful call. But I don't know how to use it. Can anyone help me? Thank you very much. ...
Hi, I want to deploy multiple rails app on a single server. If I had a domain name, I would have easily done that using subdomains as server name in virtual hosts. My problem is that I do not have a domain name. Can I do something like 70.42.89.11/app_1 as one server name and 70.42.89.11/app_2 as another. Or are there any other solu...
I have an Apache web server that usually handles mod_rewrite fine. I have a directory called /communications/q/ and I want to rewrite any URI to insert "index.php" before the rest of the entered URI. For example, /communications/q/something/else should actually serve communications/q/index.php/something/else. It's the standard PHP CodeI...
Sorry for the vague question but I'm newbie in CentOs and Solr I have installed Java, Jetty and Solr, I start the Solr with: java -jar start.jar in the examples folder of the solr I have put in my CentOS box and it says : 2010-10-13 13:12:41.623::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2010-10-13 13:12:41.842::INFO: jett...
hello there. just need one url on my site to check if its a mobile device and then rerite the url accordingly. want to rewrite; http://2amfilms.co.ukl/play-reel/miranda-bowen/playpeaches-and-cream to http://2amfilms.co.ukl/mobile/play-reel/miranda-bowen/playpeaches-and-cream RewriteCond %{HTTP_USER_AGENT} ^.*iPhone.*$ [NC] RewriteRule...
The Setup I have a Ruby on Rails application that I manage from a sysadmin perspective. This application in installed on a pool of load balanced application servers. These application servers a running Apache 2 and Passenger 3.0. The application files are stored in a ramdisk because IO on the application servers are ridiculously slow. ...
I have a dynamic review system in place that displays 30 reviews per page, and upon reaching 30 reviews it is paginated. So I have pages such as /reviews/city/Boston/ /reviews/city/Boston/Page/2/ /reviews/city/Boston/Page/3/ and so on and so forth Unfortunately, Google seems to be indexing pages through what seems l...
Hello all, I found an error log file that is 20GB in terms of size! I wanted to know if it will be slow for Apache to write to this? I ask because the way I understand it is that Apache opens the error_log file upon start and writes to it, which shouldn't be that slow - Is this true? Or will this sort of file size reduce speed of l...
I have this url: http://localhost/zina/Artist%20One%20Demo?l=8&m=10&c And it needs to become: http://localhost/?p=Artist%20One%20Demol=8&m=10&c&option=com_zina&Itemid=82 I am using this to rewrite the url: RewriteRule ^zina/(.*)?(.*)$ /?p=$1&$2&option=com_zina&Itemid=82 [L,R] However, I wind up with urls that ...
Hi I have the following .htaccess: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d rewriterule .* LoadSite.php What I am trying to do is that if the file doesn't exist then call LoadSite.php... this will then load any number of other php files via include (depending on the url)....
Dear members, can someone tell me why I can't view my index.php from the subdir /oorbellenboutique/ ??? It shows http:// www.oorbellenboutique.nl/startpagina/index.php but it must be the index.php from f:/inetpub/wwwroot/oorbellenboutique The correct URL must be: http:// www.oorbellenboutique.nl/index.php My DNS is: A *.oorbellenbo...