We are using Apache 2.2 to server SVN (1.6.2) repositories on Windows. We use SSPI for authentication, and that's working. We have a number of different repositories, and use SVNParentPath in the httpd.conf to serve them. Something like:
<Location />
DAV svn
SVNParentPath c:\repos
[SSPI stuff]
</Location>
So from a client...
Hi There,
I need to restrict cookies to my www subdomain, this works by me adding the line session.cookie_domain = www.example.com in the php.ini file. However I have a number of virtual hosts on my server so I need this domain to be different for each one. After a bit of a web-seach, I have tried using:
'SetEnv session.cookie_domain w...
I can load a remote file (http) from the php CLI:
php > print_r(getimagesize("http://www.google.ca/intl/en_ca/images/logo.gif"));
Array
(
[0] => 276
[1] => 110
[2] => 1
[3] => width="276" height="110"
[bits] => 8
[channels] => 3
[mime] => image/gif
)
However, the exact same code from a web script gives ...
Hi all,
Some CSS & JS files are not compressed by apache with mod_deflate enabled. This files looks like this "[domain.name]/aggregator.css?..." or "[domain.name]/misc/jquery.js?..." in YSlow. The other CSS & JS without the "?" gets compressed. Kindly explain me how do I make apache compress this files also.
Thanks
...
We recently reinstalled our web site on our server, the sys admin says it is an exact rebuild, and it indeed looks to me that it is, but there is something different going on. I did not originally develop the site, and those who did are no longer available.
urls for the admin site are now
//admin.site.com/index.php/schedules
and used...
The server starts without complaint, but as soon as I hit a page that requires an Apache2 module, like Apache2::Cookie, it dies:
Can't load 'C:/Perl5.10/site/lib/auto/APR/Request/Request.dll' for module APR::Request: load_file:The specified module could not be found at C:/Perl5.10/lib/DynaLoader.pm line 202... [etc all the way back to a...
I have a httpd.conf file that looks like this:
Alias /robots.txt /var/www/tech_eval/static/robots.txt
Alias /favicon.ico /var/www/tech_eval/static/favicon.ico
AliasMatch /([^/]*\.css) /var/www/tech_eval/static/styles/$1
Alias /media/ /var/www/tech_eval/static/media/
<Directory /var/www/tech_eval/static>
Order deny,allow
Allow from al...
I always get the error message below whenever I try to branch solution using AnkhSVN which is integrated in Visual Studio 2005:
SharpSvn.SvnRepositoryIOException:
Repository moved permanently to 'http://'; please relocate
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error)
at SharpSvn.SvnClien...
I would like to use mod_rewrite() on my apache setup on a windows machine. As you probably know, Windows doesn't use Unix-style hidden filenames like ".htaccess."
So should I change AccessFileName .htaccess to AccessFileName xyz.htaccess ?
or there is something else I need to do?
...
Hi
I use .htaccess to perform redirection.
Here the line
RedirectMatch permanent .*\?langue=([\w]{2}).*id_([\w]+)=([1-9]+) ***[protocol]***://myserver/rootContext/action?pagename=dir1/dir2/dir3/Redirect&type=$2&id=$3&lang=$1
Here my inital url:
***[protocol]***://localhost/adir/anotherDir/anotherDirAgian/oneMore/apage.php?langue=fr...
I need to do a url-rewriting job now.
I don't know whether I should put the code into a .htaccess or httpd.conf?
EDIT
What's the effecting range of .htaccess?Will it affect all requests or only requests to the specific directory it's located?
...
I have an httpd.conf file that looks like this:
Alias /media/ /var/projects/potato_gun/media/
WSGIScriptAlias / /var/projects/potato_gun/django.wsgi
The problem is, I broke all my URLs that start with /~username because they get sent off to django.wsgi instead. Is there anyway I can get it to ignore any URL that starts with /~?
...
Hello all,
I have a PHP script that keeps stopping at the same place every time and my browser reports:
The connection to the server was reset
while the page was loading.
I have tested this on Firefox and IE, same thing happens. So, I am guessing this is an Apache/PHP config problem. Here are few things I have set.
PHP.ini
max...
When I log in with one browser session, I have to log in, but when I open another session it has automatically logged me in (as if I've picked up session 1), this does not happen if I use http://192.168.0.9:9070
It forces me to log in each time. So I know the application is working, it's just the proxy server that seems to apply the log...
This is my httpd.conf file for my http://old.example.com :
RewriteEngine on
RewriteBase /
RewriteRule ^login$ http://another.example.com/login [L]
The problem is that although I can redirect to http://another.example.com/login, but the location bar is still showing http://old.example.com/login.
Any idea how to fix this?
...
I need to stop directory listing of images directory on a website. I'm configuring cookieless domain for images and javascripts on a site. I have done the CNAME configuration and added below virtual hosts configuration in httpd.conf file. But, if i access this cookieless domain directly, its listing the whole directory content. how to so...
Hi all,
I have latest Apache installed on CentOS 5.4.
After I configured Virtual hosts and left the server for a while I saw a lot of memory consumption. In the ps aux I saw that apache is taking a lot of memory.
In order to reduce the memory usage I'd like to disable unneeded modules in apache configuration.
Web site content:
1) HTML
2)...
Hi,
I found the extra %D option in the LogFormat section of httpd.conf file.
LogFormat "%h %l %u %t %D \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t %D \"%r\" %>s %b" common
I was told that this is to log the time the page took to load.
Is it correct?
...
I'm trying to share a single httpd.conf file across multiple OS X machines. I'm using Dropbox to manage the file and make it available to both machines. The problem I'm having is that the httpd.conf file has to load virtual host config files from a location within my home directory and the path is different on each machine.
I tried refe...
i want to run perl script on browser.i am using strawberry perl and i want to Apache httpd.conf configuration.help me?
...