0
votes
1answer
27 views

Access Apache22 server installed on guestOS(FreeBSD) from Host(Win7)

(I asked this question on SuperUser 3 days ago and had no answer...) I would like to access my freshly installed apache server (via ports) on my FreeBSD guestOS from Windows 7. So I set my virtual ...
0
votes
1answer
52 views

Server suddenly stops responding and then resumes an hour later

My FreeBSD server had been perfectly working for over 2 years without any major changes to the system. Recently I installed SSL certificate using Apache's mod_ssl, and after 10 days of running fine ...
0
votes
1answer
45 views

Apache mod_rewrite - why friendly URL doesn't works with static files?

My configuration to use friendly URL works fine when the destination is a php script, like this: RewriteRule ^products/([a-z0-9-]+)/([0-9]+)/?$ /prod.php?id=$2&name=$1 [NC] But, when I use a ...
2
votes
2answers
143 views

ipfw based firewall slows down Apache web server

I have an Apache web server running on a FreeBSD 8.3 machine. That machine has an ipfw firewall with these rules: root@aigamedev:~# ipfw -a list 00005 0 0 deny ip from 67.212.xxx.xxx to any ...
0
votes
1answer
190 views

Apache child died for unknown reason

For a long times i saw such errors on FreeBSD9.1 (Apache 2.2) server # dmesg pid 69320 (httpd), uid 80: exited on signal 11 pid 69307 (httpd), uid 80: exited on signal 11 pid 69416 ...
0
votes
1answer
46 views

New rule to .htaccess file don't work on live site

I had to add a rule to the .htaccess file of existing site, which redirect some old images urls to the new ones. So, directly after the RewriteEngine On I added my new rule: RewriteRule ...
0
votes
1answer
263 views

How to install Apache and PHP by using only packages on FreeBSD?

Is there a way to install without compiling them through the ports? I installed Apache from packages and it works, but 'pkg_add -r php53' doesn't install mod_php5.so/libphp5.so. I experiment on ...
0
votes
2answers
728 views

Apache recompile does not find new OpenSSL

I'm trying to upgrade both Apache and OpenSSL at the same time. I've gotten Apache compiled with all the modules I need, and it pops up and runs, but still shows an old version of OpenSSL. Here is ...
0
votes
1answer
76 views

Changing WebServer to use BSD Jails

I'm thinking of changing my web server so that Apache (and all of django web apps) run inside of a jail rather then on my host machine. I want to make this change for two reasons, the first and ...
0
votes
1answer
430 views

Protect webmin access with username/password [closed]

I just installed webmin in my FreeBSD box, now it can be accessed as http://my-ip.com:10000, When I enter that address in browser I can see the login page of webmin directly. I want to have some ...
1
vote
1answer
2k views

Custom PHPINIDir setting in VirtualHost affecting other VirtualHosts

One of the clients requested a personal php.ini configuration for his website, so I have set his VirtualHost as follows: <VirtualHost *:80> DocumentRoot "/home/alex/www.domain.tld" ...
0
votes
1answer
135 views

How to configure jailed apache to be accessible on the network

I have jailed apache on freebsd on a private network with ip address 192.168.100.174, I have another apache server running on the host but it is configured to listen on its other IP addresses but ...
3
votes
4answers
393 views

Optimize Apache performance

I'm looking for ways to optimize our current web server hosted in-house. I'm trying to supply as much relevant information below. Please let me know if you would require additional information in ...
2
votes
1answer
218 views

Apache httpd processes in lockf state

We run Apache on a FreeBSD system, it has multple web apps on it (Wordpress, Magento, custom PHP). As the traffic increases, we see more and more httpd processes in status "lockf" (using 'top'). The ...
0
votes
4answers
319 views

How to make proxy on nginx?

How would I set my webservers to work in way described below? Http request: mypublic.com ---> handled normally by nginx as it is set up already (listen 80;) Http request: myprivate.com ---> handled ...
0
votes
1answer
422 views

How to install a certain version of Apache Web-server to FreeBSD?

I have a newly installed FreeBSD OS and I need to install an Apache web-server on it. Need it to test some software. But I need not the last version but exactly apache-2.2.17_1. How can I do that? ...
1
vote
1answer
186 views

Apache not running from rc.d on FreeBSD

I'm using FreeBSD 8.3 and Apache 2.2. I didn't install Apache from ports, instead compiled it from source because I wanted to move the binary and configuration to a different path (I'm centering all ...
0
votes
1answer
141 views

Change apache22 in FreeBSD 8.2 from itk to apache22-worker (or prefork, event)

Can I simple remove apache22 and install apache22-worker? I has ispmanager hosting panel with existing apache configuration (some vhosts, working as nginx backend), does all that config files will ...
0
votes
3answers
148 views

Apache22 displays PHP source

I've just install Apache22, PHP 5 with Apache module, and MySQL. The Apache conf file has the PHP LoadModule line, but it still displays the PHP source code. Are there any other reasons why this ...
1
vote
1answer
502 views

trying to “setup apache fastcgi”

my system is: wx3# uname -a FreeBSD wx3 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 wx3# packages ...
0
votes
1answer
228 views

What may cause apache slowing down

I have a server setup with FreeBSD 8.2-STABLE running Apache/2.2.22. Since this morning it became very slow. Connections are quickly established, but the response is very slow. This is valid even for ...
0
votes
1answer
3k views

How to chroot VirtualHosts on a Apache server?

I have a FreeBSD server (company's OS of choice). Currently we run several websites on each of the webservers. Websites are in PHP which is run in Apache Module mode. At the Apache is not chrooted so ...
1
vote
1answer
128 views

Make a file accesible by PHP but not from the outside

My host gives me two folders for my use, a /home/public/ which is where the pages go, and /home/private/, which is for my personal use. I would like for PHP to create a file that's readable by me from ...
0
votes
2answers
993 views

Apache: Failed to enable the 'httpready' Accept Filter

So kernel modules are loaded!! what goes on?? accf_http_load="YES" accf_data_load="YES" trying to load ... dev# kldload accf_data.ko kldload: can't load accf_data.ko: File exists and still ...
2
votes
1answer
66 views

Apache PATH very long with duplicate entries

When showing phpinfo() the sheet show that Apache PATH enviroment variable is very very long and with duplicate entries? Why is that? And how to fix? ...
0
votes
1answer
566 views

FreeBSD 8.2 + Apache 2.2 + mod_auth_pam2: unable to authenticate

I've installed Apache 2.2 and mod_auth_pam2 from ports, but I can't get local UNIX authentication to work. When I access the protected part of my local website, I do get the authentication request, ...
3
votes
2answers
1k views

Run cgi-script on commandline as user www?

I'm running FreeBSD 7 and apache-2.2.13. I am trying to debug a cgi script at http://www.example.org/cgi-bin/printenv . This script is a simple script written in Bourne shell. I would like to run ...
0
votes
2answers
2k views

How to configure hostname for `apache22` package on FreeBSD?

I'm configuring development & test FreeBSD machine on VM. I installed apache22 package and restarted. But the daemon does not started with this error: %apachectl start httpd: ...
1
vote
3answers
469 views

Apache 2.2 umask in FreeBSD

I have Apache 2.2 running under FreeBSD 7 (and 8). It runs with the system default umask of 022, and I need it to be 002 so that www group members can make changes without having to chase it with ...
1
vote
1answer
958 views

Apache22 on FreeBSD - Starts, does not respond to requests

I'm running Apache 2.2.17 with the peruser MPM on FreeBSD 8.2-RC1 on Amazon's EC2 (so it's XEN). It was installed from ports. My problem is that, although Apache is running, listening for, and ...
0
votes
2answers
977 views

Best OS for a web server hosting dynamic content in Apache?

I have the freedom to pick an OS for a server, so I want to dedicate my time and effort in learning one platform. My main objective is to start with something that would be as efficient as possible ...
1
vote
2answers
2k views

How to identify DDoS attack? [closed]

I am experiencing intermittent, very odd jumps in server load that generally end in server being unavailable. Server runs a pretty high traffic website on Wordpress, Apache, MySQL. There is a ...
1
vote
1answer
114 views

How to automatically create a dir in user's home when adding new user?

I am toying with Apache and FreeBSD. I'm using UserDir in Apache, and configured it to look at the 'www' dir under each user's $HOME. My question is: which is the best way to automatically create ...
1
vote
4answers
460 views

apache won't start up

we just got through a power outage. All our servers came back up properly, except out web server gives me this error when attempting to start apache: # apachectl start no listening sockets available, ...
1
vote
2answers
384 views

What do the following lines in httpd-access.log mean?

The lines in question are 124.178.138.134 - - [03/Sep/2010:00:05:35 +1000] "\x1e\xaa\xb7P\xcfL\x1eeV*" 200 1617 "-" "-" 203.29.140.81 - - [03/Sep/2010:00:14:58 +1000] ...
0
votes
1answer
167 views

Uploaded Site Files not Displaying After Creating Virtual Host on FreeBSD

Good Morning, Newbie Alert!! :) I created a virtual host on my FreeBSD server and have the domain name pointing to the server. I uploaded site files to /home/servername/www/virtualhostname. I see ...
1
vote
2answers
2k views

Wrong MIME-type while uploading files

I have a problem with MIME-type while uploading a file to server from the web-interface. I used CI as engine for my website. I have FreeBSD with Apache 2.2.15 on the board. The problem is: While i ...
7
votes
8answers
7k views

Simple web-frontend for remote svn administration?

We run a SVN repository. Some of our more advanced users need to be able to perform some SVN administration without relying on the system administrator. They need to be able to do things like create ...
3
votes
2answers
1k views

Best way to install multiple versions of Apache, PHP and MySQL on a single FreeBSD host

I want a test- and development-environment for web using Apache, PHP and MySQL. I need to be able to test a single web-application with multiple versions of PHP (5.2, 5.3, etc) and multiple versions ...
4
votes
2answers
12k views

Header set Access-Control-Allow-Origin not working with mod_rewrite + mod_jk

My first question on here on SF so please forgive me if I manage to bork the post. :) Anyways, I'm using mod_rewrite on one of my machines with a simple rule that redirects to a webapp on another ...
4
votes
5answers
5k views

/server-status shows over 240 requests like “OPTIONS * HTTP/1.0” 200 - “-” “Apache (internal dummy connection)”

Some details: Webserver: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e OS: FreeBSD 7.2-RELEASE This is a FreeBSD Jail. I believe I use the Apache 'prefork' MPM (I run the default for ...
1
vote
1answer
264 views

Apache doesn't autostart because vpn isn't up yet

I have a FreeBSD8 server, and VPN connection to my ISP. I use mpd5 and it works fine. Also I have an Apache server whch works fine, if I start it manually, after VPN is get up. But when I add it to ...
1
vote
2answers
239 views

Install Apache22 in parallel to existing Apache13 installation on FreeBSD

I am running a FreeBSD (6.3-STABLE) production server with apache13 installed via ports. For various reasons I need to upgrade this to apache22, preferable also installed via ports. As my maintenance ...
5
votes
3answers
3k views

httpready problem on Apache httpd restart on FreeBSD?

I run Apache HTTPD 2.2 on my FreeBSD 7.2 webserver. I have enabled the httpready and dataready in my /boot/loader.conf, like this: accf_http_load="YES" accf_data_load="YES" That works great when ...
2
votes
5answers
519 views

Apache on FreeBSD not responsive but not busy

I run a fairly busy webserver. It's pretty standard: Apache with mod_php on FreeBSD 7.1. It connects to a separate MySQL server. It serves lots of static images. Users have been complaining of slow ...
2
votes
5answers
875 views

Apache logging strategy on busy webserver: write contention?

We have a busy webserver (> 5 million hits/day) that serves about 500,000 unique files. We're running Apache on FreeBSD 7.2. According to iostat -x, the bottleneck seems to be the seek speed of the ...
4
votes
3answers
7k views

Failed to enable the 'dataready' Accept Filter

I'm not sure why, but I'm getting this warning when I start my apache... su-3.2# /usr/local/apache2/bin/apachectl start [Wed Sep 23 13:40:42 2009] [warn] (2)No such file or directory: Failed to ...
0
votes
2answers
313 views

httpd.conf got trashed on FreeBSD

My httpd.conf got trashed on FreeBSD uname -a FreeBSD ares 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I am ...
4
votes
2answers
5k views

How can I adjust subversion repository file permissions automatically for use w. Apache/DAV?

I've set-up a subversion server accessible with Apache/DAV and after screwing up the repositories file permissions a couple of days ago I started wondering if there's a better way to do this than the ...