apache

How to install mimetex on PHP/apache?

So I'm trying to use the LaTeX on my server but I need mimetex. I have no idea how to do this nor have I been able to find any tutorials. Basically all I know about servers is how to ssh into my server... and thats about it. I was hoping it would be as easy as doing something like apt-get {blah}... but I have no idea. Can anyone provide ...

setup an ftp server with mamp pro

I am currently using mamp pro on osx for local development and I want to mirror my mosso cloud setup as much as possible. has anyone setup an ftp server with their local installation of mamp pro using sites i.e. local.mydev.com through apache? hope everyone had a great holiday. ...

AJAX, Server Push implementation questions

Hi, I'm relatively new to the whole AJAX way of doing things so please excuse me if I'll mix two different things (although I'd appreciate it greatly if you could comment me on that). My question is this: I have many web clients (lets say around 1500) whom I want when starting up to "subscribe" to the web server with some sort of Id and ...

Apache returns sitemap.xml not /sitemap

First, this problem is on my local testing site; the live site is okay. I have a site where there is a link to blah.com/sitemap. In the DocRoot there is a file called sitemap.xml, which I don't want to display in response to that link. There is a rewrite rule in /.htaccess: RewriteRule "^([a-z]{1}[\w_\-]+[a-z]{1})$" "/index.php?action=...

How to use a different path name in ProxyPass than the Tomcat context name

Hello, I am using Tomcat 5.5.9 and Apache 2.x We are trying to use a path name in ProxyPass that is different than the Tomcat context name. ProxyPass /path http://localhost:8080/contextname However, this does not work. When these two are the same then everything works fine. Most examples I see on the net also have the path equal to...

Rails time stamps on images in CSS

So Rails time stamping is great. I'm using it to add expires headers to all files that end in the 10 digit timestamp. Most of my images however are referenced in my CSS. Has anyone come across any method that allows for timestamps to be added to CSS referenced images, or some funky re-write rule that achieves this? I'd love for ALL i...

How to call R from within a web server (like Apache)?

That is, is there an embedded R interpreter available? ...

vmware fusion view coldfusion debugging host os

i am using vmware fusion windows xp apache coldfusion 8 and I am trying to view the cf debugging through safari on my snow leopard host. I have turned on debugging and tried adding my ip, however, this did not work, any ideas? ...

PHP cannot find my php files if not under htdocs folder

By someone's advice I've put all my PHP files in a separate folder (inc) on the same level as htdocs. Only index.php is left in htdocs. So, it's like this: C:\myproject\htdocs - index.php C:\myproject\inc - login.php - util.php - register.php ... Now, when I go to localhost in my browser index.php is processed and shown correctly. But...

mod_Rewrite: Allow only one IP and redirect the rest to a certain error url?

I got a code that will match a certain block of IP and redirect them to another page. RewriteCond %{REMOTE_ADDR} ^192\.168\.10\..* RewriteRule ^/support http://www.yahoo.com/gone [R,NE,NC] However, how would I reverse this? to only allow one IP and redirect the rest to a certain url? ...

mod_rewrite - splitting up arbitary number of terms?

heya, I'm attempting to write a mod_rewrite rule to remap some friendly URLs for searches, and my regex-fu isn't that good...lol. Basically, in the URL, after the subdomain, there will be a variable number of words (\w), separated by a character (say +). An empty expression is allowed (i.e. "foo.bar.com"), and then after that, somethin...

mod_rewrite: Redirect if anything but a file

I have an Apache .htaccess file in the parent directory to directory this .htaccess file is currently located. This works perfectly redirecting all requests as required. However, I would like it so in this directory, if the request is for a valid file (and NOT a directory), ignore the main rewrite rule. Currently, the following turns of...

htaccess question

This is a simple htaccess question for experts but I have been trying to get this sorted for a while. This was something a developer did before my time with this code. He truncated the image file extension from the requests. As an example, /images/btn/Find a bear should get the URL changed internally to /images/btn/Find a bear.gif All ...

SVN with Apache security

I've set up a local SVN repo with apache https access on an ubuntu machine using this example: http://stackoverflow.com/questions/60736/how-to-setup-a-subversion-svn-server-on-gnu-linux-ubuntu Everything works great. The next step is to allow users to access SVN over the internet. This works, but here's my question: Currently it seems e...

HTTPS is Not Encryped? Server will not make a secure connection. Help!

May Not Be Safe For Work Hello All, I cannot get my server to make a secure connection. I created a checkout form here: https://bradp.com/join-30-30-club When entered, the browser attempts to make a secure connection appears to give up and goes to an unencrypted connection. What do you think It could be? I'm using Apache and PHP. ...

url_rewrite /#/something/here to /something/here

I need to configure my Apache instance to redirect the requests from a pattern like /#/something/here to /something/here I tried with RewriteRule /([\#])/something/here /(.)/something/here with no success. Any thoughts? ...

Oracle OPMN is returning blank pages

This isn't really a programming question, but more of a systems administration one. It's specific to Oracle's Application Server product, which has many names -- e.g. OAS, iAS, OHS, Oracle HTTP Server, etc. Basically it's just a hacked version of Apache with a bunch of extensions for Oracle-specific things. After struggling for several ...

How to catch error in Django project on apache: 10048 "Address already in use"

Python 2.5.2, Apache 2.2, Django 1.0.2 final My Django app tries to connect to a certain port. When that port is busy, I get the error 10048 "Address already in use" from apache. I know where the error is coming from. How do I catch this apache error? More info: error at /report/5/2009/08/01/ (10048, 'Address already in use') Reques...

No principal in request after Apache basic authentication (basic-auth) with mod_jk

[environment] Apache 2.2.13 connect to Tomcat 5.5 with mod_jk (ajp13). Apache requires basic-auth for "/" i.e. for all URLs it serves. [problem] Once the request arrives at my app in Tomcat (it's a Servlet filter) request.getUserPrincipal() returns null. Apache, however, did authenticate the request, I did enter user/password in the bro...

Apache's mod_php OR FastCGI? Which is good for Wordpress?

Hi guys, I have basic idea about running PHP in different configurations like mod_php, cgi, FastCGI, etc. In my findings and test I found FastCGI is slightly better. I like FastCGI's support for SuEXEC most. Wait I do not want to get into benchmarking business here again. If you surf web, you will find people proving one way is faster ...