PHP Doesn't Work With Apache2

Nov 24, 2007

I've had two (or three) versions installed on my Fedora linux server. It seems I've had something installed when I just rented server, after that I've tried to upgrade by building PHP from source.

PHP, installed with yum (before upgrading) had 5.1.6 version. When I ran phpinfo(), browser displayed this version. But when I ran "php -v" in command line, it displayed 5.2.5 version.

I've got this error when server booted up:


Quote:

[20-Nov-2007 03:27:30] PHP Warning: PHP Startup: json: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0

So, I've removed old version(s):

Quote:

rpm -qa | grep php
rpm -e *package*

yum remove php

Then I've downloaded latest version of PHP 5.2.5 and installed it. I've copied configuration list that yum uses for older version:

Quote:

./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic=/usr/share/file/magic.mime --without-sqlite --with-libxml-dir=/usr --with-xml --with-apxs2=/usr/sbin/apxs --without-mysql --without-gd --without-odbc --disable-dom --disable-dba --without-unixODBC --disable-pdo --disable-xmlreader --disable-xmlreader --disable-xmlwriter

make clean
make
make install

After that PHP doesn't work with Apache2. Whe I try to load any .php page, I get PHP source code as simple text instead of result of executed PHP code.

When I install PHP with yum again, it works.

I wonder how can I install latest PHP from source? How to fix the problem with Apache2?

View 2 Replies


ADVERTISEMENT

Webalizer Doesnt Work Using EnsimPro X

Mar 11, 2007

After migrating from the old ensim to the new "X", everything is working fine, except for the webalizer, I activated webalizer in one domain a few days ago.. and everyday Im trying to see the webalizer information, and it is always displaying this message:

Could not retrieve the requested site report because the Web server logs have not yet been generated. These are generated once a day. Please check again later.

I also tried forcing the log rotating for that site, but the problem still there.

Server is RHES 4 with EnsimPro X, log generation and webalizer is activated for the domain.

View 2 Replies View Related

Monit + Qmail Alerts Doesnt Work

May 9, 2007

I configured monit to send me email alerts when apache is using too many resources but I cannot receive email alerts. I use Qmail.
As for syslog, there is this message:

monit[6473]: Sendmail: error receiving data from the mailserver 'localhost' -- Resource temporarily unavailable

I tried to add for server name the name used in MX record but with the same result.
Btw: other things configured in cron (eg. RKHUNTER) send me alerts OK.

View 0 Replies View Related

Perl Script Doesnt Seem To Work On My System

Dec 30, 2007

im using centos and a perl script doesnt seem to work on my system.

it gives an error on this line.

use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->agent("MyApp/0.1 ");

BEGIN failed--compilation aborted at line 8.

is it a problem with my perl or is it an error with the script?

View 6 Replies View Related

Installed Apache Can Access Via LAN IP + Localhost But WAN IP Doesnt Work

Oct 30, 2008

I'm on windows vista. I've got an SDSL line into the house with a dedicated IP 62.etc. I've then got a Prestige 791R and all PC's plugged in to that. I've also got a wireless router for my Wii set up.

Basically I've set up this DHCP thingy to start at 192.etc.3 and the Wireless router is at 192.etc.1 and the Prestige is at 192.etc.2 my pc is at 192.etc.9

This is about where my knowledge stops unfortunately.

I have installed apache as the most basic default install I think you can and it seems to be working absolutely fine. I'm assuming I could also install PHP and MySQL etc and wouldn't have too much of a problem, however, my friend cannot seem to access the environment from the WAN IP and when I type in my WAN IP I get the prestige router's control panel.

I read somewhere that I needed to forward port 80, now I can 'open' ports in the prestige control panel but I did try opening port 80 in the control panel and pointing it to my LAN IP (92.etc.9) but it didn't seem to work.

I'm at a bit of a loss so if anyone could point me in the right direction I would be most grateful, just to clarify:

//localhost loads the html file 100%
//192.etc.9 loads the html file 100%
//62.WANIP internally loads my prestige routers control panel
//62.WANIP externally does not load a page (cannot be found)

If you need any more info just let me know and I'll get it.

View 0 Replies View Related

Ping Doesnt Work Until Remote Desktop Connection Is Made

Nov 14, 2007

I have a remote XP PC: 172.16.1.5 OpenVPN connection with route added for 192.168.2.0/24 to go via the VPN

Now on the other end the network consists of:

I have a OpenVPN server inside the lan on 192.168.2.245
Its default gateway is 192.168.2.1

I have 3 Windows Servers, 192.168.2.246, 247 and 248. All gateways are set to 192.168.2.1.

I have a ethernet router on the network, 192.168.2.1, it has a route added for 192.168.0.0/16 to go via 192.168.2.245, and route added for 172.16.0.0/24 to go via 192.168.2.245 also). the 192.168.0.0/16 is incase any other LANs are connected at a later date, if computers saw any packets not on the the 192.168.2.x subnet they would be routed to the default gateway which would then pass them to the OpenVPN router.

The trouble is, i can remotely connect and ping to the OpenVPN router fine and also the ethernet router, however when i ping any of the Windows boxes it times out. But i can open up Remote Desktop and connect to the windows box without problem, infact if i am running 'ping 192.168.2.246 -t' it will suddenly come alive but only after the RDP connection is made.

Is this something funny with the routing? I want to keep the OpenVPN server internal to the network and i appreciate it is hitting the ethernet router then being passed to the OpenVPN but something is weird as it fires up RDP fine but not ping. No firewalls are enabled on any of the boxes. If i log into ssh on the OpenVPN router or ethernet router i can ping from that to the windows boxes fine.

Its as if a ICMP redirect is issued, and all is well after the 1st connection. Not too sure but could anyone be kind enough to enlighten me?

View 1 Replies View Related

Forwarding/Default+POP3 Addy Doesnt Work - Piping/Webmail Works

Sep 13, 2007

My server which runs cPanel (license issued touchsupport) is having problems with handling emails.

I use an external DNS provider (editdns.net) only for this 1 particular domain for handling many Records and such. Through their panel, I have added my mail server's record, i.e. "mailserver.tld".

Now there is a problem with one part of the email issue. I have email piping setup and 1 webmail account setup too. These two work flawlessly. No issues with them. But email forwarding and default address doesn't work.

I am confident that the email settings are working right because, when my clients send an email, piping works and my support system creates a new ticket. But the email forwarding/Default EMail doesn't.

Not just that, I cannot even connect to the webmail account I created via POP3. I 100% sure that I used the correct login credentials and also tried the "+" and ":" for the username part. Just doesn't work. But I can access and read my emails via the Webmail (squirrelmail).

Please help me out with this as soon as possible.

View 3 Replies View Related

Host That Doesnt Oversell

Mar 28, 2009

As posted in a previous thread I noted how I have been hosting with GeekStorage. After a little bit of investigation I found that a total of 593 (possibly more) website where being hosted on the same server as mine. I'm not sure if this is overselling but because I'm new to all this but I'm pretty sure it is.

Now, I'm looking on switching from GeekStorage to someone who doesn't oversell. I would be fine with 10-20GB of storage and >150GB bandwidth. Budget is 5-10$ a month.

View 14 Replies View Related

Pc-core.net Doesnt Care

Jan 28, 2009

so for over 3 weeks now pc-core.net had some problems with their servers and my accounts were just lost and no one answers my support tickets they just erase them, they disabled my account to support so i can only submit support tickets and click the link on the email.

they told me to email cshelpdesk.com to get my account moved to a new server and cshelpdesk is just telling me im SOL. they dont have access to the server i was at and basically to F off.

is there anything i can do? im basically just being ignored and they dont even have a number to them.

View 12 Replies View Related

Csf Doesnt Allow Out/income Emails

Mar 23, 2009

my forum is VB and its doesnt sent any email for users!

i check the options and everything looks fine ..

my vps had csf firewall installed ..

the csf.conf is

# Lists of ports in the following comma separated lists can be added using a
# colon (e.g. 30000:35000).

# Allow incoming TCP ports
TCP_IN = "53,1116,80"

# Allow outgoing TCP ports
TCP_OUT = "53,80,3306,1116"

# Allow incoming UDP ports
UDP_IN = "1116,53"

# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = "53,1116"

# Allow incoming PING
ICMP_IN = "0"

# Set the per IP address incoming ICMP packet rate
# To disable rate limiting set to "0"
ICMP_IN_RATE = "1/s"

# Allow outgoing PING
ICMP_OUT = "1"

# Set the per IP address outgoing ICMP packet rate
# To disable rate limiting set to "0"
ICMP_OUT_RATE = "1/s"

and the version of csf is

[root@www csf]# /usr/sbin/csf -v
csf: v4.56 (generic)
[root@www csf]#

am useing centOS5 and ssh port 1116

am not useing any of control panel or ftp ...

the email i configured it with google.com/a services ..

View 12 Replies View Related

Http Doesnt Respond

Jun 17, 2008

my sys admin is currently in vacation and ovh staff cant help me much so i really appreciate if someone could help me tackle down this issue. I cant create ftp account at all heres what ovh said

Good morning,

Thank you to trust us, there is not my point of view or that of my colleague problem of the kernel compilation on your server or a file corrupted, and your Apache web server is functional, Status of the launch; after this command, via ssh:
/ etc / init.d / httpd start
Starting httpd: [OK]

We see that the port is open 80:
netstat-tanpu | grep 80
tcp 0 0 0.0.0.0:7080 0.0.0.0: * LISTEN 3071/lshttpd
tcp 0 0 0.0.0.0:80 0.0.0.0: * LISTEN 14349/httpd

From the outside, at this precise moment, we are able to establish a connection on port 80:

Telnet ks357687.kimsufi.com 80
Trying 91.121.148.X ...
Connected to ks357687.kimsufi.com.
Escape character is'^]'.
Get
<! DOCTYPE HTML PUBLIC "- / / IETF / / DTD HTML 2.0 / / EN">
<html> <head>
<title> 501 Method Not Implemented </ title>
</ head> <body>
<h1> Method Not Implemented </ h1>
<p> get to / not supported. <br />
</ p>
<hr>
<address> Apache/2.2.8 (EL) Server at ks357687.kimsufi.com Port 80 </ address>
</ body> </ html>
Connection closed by foreign host.

If I stop the Apache server:

/ etc / init.d / httpd stop
Stopping httpd: [OK]

More than 80 active port or connection possible from the outside:

In this case the connection of the exterior evidemment is not possible:

Telnet ks357687.kimsufi.com 80
Trying 91.121.148.X ...
telnet: Unable to connect to remote host: Connection refused

View 9 Replies View Related

Windows Doesnt Detected All 4GB RAM

Jun 15, 2007

I am using Windows 2003 Enterprise Edition SP1 and i have recently set the computer up to 4GB RAM. I notice a problem occur error :

When I start the computer, Bios detected all 4GB Ram. However, i have checked Total physical memory in General (My Computer-> Properties) doesnot detect all 4GB Ram. it only detect 3GB Ram.

I have checked that this OS support up to 32GB . Why it doesn't detect all 4GB ?
What happen to it?

Mainboard : Intel chipset 915GL

I did following the instruction in internet (exactly is Microsoft) is /PAE in boot.ini file. But, it doesnt work.

View 8 Replies View Related

Using Www Site Doesnt Resolve

Sep 26, 2007

Yesterday we registerd and created 2 domains in our server.
Everything is ok, files uploaded, dns zones created, httpd virtual host created...

The problem is that trying to browse the site trough http://www.site.com redirects me to [url] my main server IP address, this page shows a cPanel Welcome message.

But, using [url], the site is loaded ok, withouth any problems.

DNS zone shows:

Code:
; cPanel 11.11.0-BETA_16977
; Zone file for site.com
$TTL 14400
@ 86400 IN SOA mydns1.wolo.com. admin.hostingserver.com. (
2007092601 ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds

site.com. 86400 IN NS mydns1.wolo.com.
site.com. 86400 IN NS mydns2.wolo.com.

site.com. IN A IP_ADDRESS

localhost.site.com. IN A 127.0.0.1

site.com. IN MX 0 site.com.

mail IN CNAME site.com.
www IN A IP_ADDRESS
ftp IN A IP_ADDRESS
Apache virtual host code

Code:
<VirtualHost IP_ADDRESS>
ServerAlias www.site.com
ServerAdmin webmaster@site.com
DocumentRoot /home/siteuser/public_html
ServerName site.com

<IfModule mod_suphp.c>
suPHP_UserGroup siteuser siteuser
</IfModule>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/siteuser:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/siteuser:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>

User siteuser
Group siteuser
BytesLog /usr/local/apache/domlogs/site.com-bytes_log
CustomLog /usr/local/apache/domlogs/site.com combined
Options -ExecCGI -Includes
</VirtualHost>

View 14 Replies View Related

Doesnt Receive Certain Emails From Certain Accounts

Jun 26, 2007

The email of my client doesnt receive certain emails from certain accounts, including my yahoo.com.ph account. After several tries I received this error instead.

After trying to send mail unsuccedfully several times, this is the error I am getting.

Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

:
Sorry, I couldn't find any host by that name. (#4.1.2)
I'm not going to try again; this message has been in the queue too
long.

--- Below this line is a copy of the message.

Quote:

Originally Posted by copy of email

Return-Path:
Received: (qmail 90296 invoked by uid 60001); 25 Jun 2007 04:05:27
-0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=s1024; d=yahoo.com;

h=X-YMail-OSG:Receivedate:Fromubject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;

b=GYMZ4utbLEJMc+EXHdW5Ng5ZJeCArXAubpEaUtZzZz77STh9HAGNhrFDjgfqNJ5BdE/
SAlCQ78wseeWPTqUFlalE246OSls0L2tnadTvmxHAQiALfIJ/efHw980subD/VVk6c3NZXGKaKn3vQwJ57bHW5a6qsWjazjl6BXp5Q20=;
X-YMail-OSG:
1iaqBZkVM1mfqTKSQPqhJwf61.zXtBuozzwn.p275yXXF_KgFA8taeSyThc.P1xawEKTuVIB
Vgxk18AHBp_TxSZD753CsOSTbU56JD1OgWwBl8GCwZNxI6YhJHPfyg--
Received: from [203.177.91.252] by web32604.mail.mud.yahoo.com via
HTTP; Sun, 24 Jun 2007 21:05:26 PDT
Date: Sun, 24 Jun 2007 21:05:26 -0700 (PDT)
From: *********
Subject: test
To: sales@*********.com
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="0-357102911-1182744326=:89673"
Content-Transfer-Encoding: 8bit
Message-ID: <979097.89673.qm@web32604.mail.mud.yahoo.com>

--0-357102911-1182744326=:89673
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

test

View 4 Replies View Related

Uploading Flash Video Files To Host_A Doesnt Play Well But Plays FIne On Host_B

Jun 27, 2008

to upload some flash videos over to our web host.

All the videos have been uploaded to << link removed >> and in there you will seea flash_video directory, in there should be a html file where you can double click and watch the flash video.

Now go ahead and try it, click on the HTML file and click CONTINUE and try clicking on MODULE 1.. You will see a video play to the left but on the right are bunch of POWERPOINT slides that will appear as the guy continues to speak. THAT DOESNT SHOW..

Our website is hosted by xo.com

Dont know much about the plan since its my 2nd day at the job..

But here is the weird part,

i have uploaded the samething - same exact way to another web host and it plays fine, the PPTs show up fine..

What do you guys think it is?

Before someone asks about uploading methods, i tried filezilla, coreftp and cuteFTP using both ASCII and binary methods. Samething..

View 10 Replies View Related

Apache2 Worm?

Apr 28, 2009

Usually our website traffic is about 50 MB/day in our dedicated server. From these past 2 days it's consuming 5 GB/day and Apache2 opens so many processes/connections that our router can't handle and turns our WAN/LAN extremely SLOW!

If the reboot the server, it calms down but soon the apache2 starts again to open the connection (+1000).

Can this be a worm? I'm using Ubuntu Server 8.04.

View 2 Replies View Related

Advantages Of Apache2?

Oct 25, 2007

I am still running apache 1.3 something on my debian vps but debian would really like to upgrade to apache 2 (Ie PHP5 updates).

So I wanted to ask what the advantages and disavantages of running apache2 is?

Can apache2 use a 1.3 httpd.conf?

View 4 Replies View Related

Restarting Apache2

Apr 4, 2009

Ive had this problem numerous times (website failed to connect error) before and the web management team tell me that apache2 needs to be restarted, seeing as they are not replying to my emails im gona try and do it myself.

i open up putty, login as root user, then what?

View 2 Replies View Related

Apache2 Hangs The VPS Up

May 7, 2008

I have a problem. When MSN Search robot looks through my VPS, the machine is going "asleep", e.g. Apache2 (Port 80) doesn't answer at all. Here is the last falling:

Code:
23:14:15 up 4 days, 9:06, 5 users, load average: 37.18, 31.25, 27.46
I hardly ever can enter 'pkill apache2' to kill Apache2 processes. Here is my Apache2 configuration (timeouts, prefork, e.g.):

Code:
Timeout 30
KeepAlive On
MaxKeepAliveRequests 20
KeepAliveTimeout 5

<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 2
MaxSpareServers 5
MaxClients 10
MaxRequestsPerChild 400
</IfModule>

Maybe I configured Apache2 wrongly, but I only want to prevent this bad thing.

View 2 Replies View Related

Apache2 Lagging

Apr 13, 2008

I just wondered if anyone can help me out with an Apache problem. I currently run Debian 3.1 (on 10 GB space and 256 MB of RAM) with Apache 2.0.59 installed through apt-get.

Apache runs with 10 child processes running simultaneously to handle multiple requests at once. I have set up Apache to use virtual hosts for every single account since they are hosted on their own domains/subdomains.

I put in a crontab to restart Apache every 15 minutes. The reason being is because after a while, Apache will start lagging to display web pages. When it's restarted, it works just fine and fast. After roughly 10 minutes now, it will take roughly a minute for the request to finally send the data back to the browser. It's not the web page that causes it, it's Apache or some factor effecting it's performance.

Does anyone know what the cause may be or how to fix it? Personally, I think it might be a memory issue.

View 10 Replies View Related

Can't Get PHP Working With Apache2

Jul 30, 2007

I had php4 running as a module of apache2 on a debian sarge os.

i did the following to upgrade to PHP5

apt-get install php5 libapache2-mod-php5 php5-gd php5-mysql

But when i tried to start apache i got an error message saying that libphp5.so is corrupted or something.. (garbled - perhaps this is not an Apache module DSO?)

Now i just want to retore php4 working as it was !

i did apt-get remove php5 libapache2-mod-php5 php5-gd php5-mysql
and apt-get install php4 libapache2-mod-php4 php4-gd php4-mysql

but i can't find the php4.conf and php4.load on the /modules-enabled or /modules-available

tried to write those files manualy as php4.so exists with other libs.

apache does not load php

Quote:

host:/etc/init.d# apt-get install php4 php4-mysql php4-cli libapache2-mod-php4
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Paquets suggérés :
php-pear php4-pear
Les NOUVEAUX paquets suivants seront installés :
libapache2-mod-php4 php4 php4-cli php4-mysql
0 mis à jour, 4 nouvellement installés, 0 à enlever et 275 non mis à jour.
Il est nécessaire de prendre 0o/3258ko dans les archives.
Après dépaquetage, 6517ko d'espace disque supplémentaires seront utilisés.
Sélection du paquet libapache2-mod-php4 précédemment désélectionné.
(Lecture de la base de données... 35624 fichiers et répertoires déjà installés.)
Dépaquetage de libapache2-mod-php4 (à partir de .../libapache2-mod-php4_6%3a4.4.7-0.dotdeb.0_i386.deb) ...
Sélection du paquet php4 précédemment désélectionné.
Dépaquetage de php4 (à partir de .../php4_6%3a4.4.7-0.dotdeb.0_all.deb) ...
Sélection du paquet php4-cli précédemment désélectionné.
Dépaquetage de php4-cli (à partir de .../php4-cli_6%3a4.4.7-0.dotdeb.0_i386.deb) ...
Sélection du paquet php4-mysql précédemment désélectionné.
Dépaquetage de php4-mysql (à partir de .../php4-mysql_6%3a4.4.7-0.dotdeb.0_i386.deb) ...
Paramétrage de libapache2-mod-php4 (4.4.7-0.dotdeb.0) ...

Paramétrage de php4 (4.4.7-0.dotdeb.0) ...

Paramétrage de php4-cli (4.4.7-0.dotdeb.0) ...

Paramétrage de php4-mysql (4.4.7-0.dotdeb.0) ...

host:/etc/init.d# /etc/init.d/apache2 force-reload
Forcing reload of web server (apache2)...apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php4.load: API module structure `php4_module' in file /usr/lib/apache2/modules/libphp4.so is garbled - perhaps this is not an Apache module DSO?

View 1 Replies View Related

Apache2 Error

Sep 10, 2007

I'm running Apache 2.0.54 on my server and just recently Apache has been giving me problems that I haven't been able to fix permanently. In my error log, Apache marks down "[error] (88)Socket operation on non-socket: apr_accept: (client socket)" roughly 3 to 4 times a second and then turns off. In SSH, I send a restart command and it tells me it's still running but then it says when I restart it again that it wasn't running.

My main concern is fixing Apache from showing this error and from crashing so much. I did some research and through inconclusive evidence, it seems like a crontab error (ironically Apache doesn't use any cron jobs I can see).

View 2 Replies View Related

Webmin To Run On Apache2

Mar 30, 2007

I have apache2 and I have minimal webmin 1.330 installed at /webmin/

Following this tutorial: [url]
I have done the commands it asks and I have added this to my sites-available:

Quote:

<VirtualHost _default_>
ServerName panel2.ipalaces.org
ServerAdmin admin@ipalaces.org
DocumentRoot /webmin/
DirectoryIndex index.cgi index.html
<Directory /webmin/>
Options ExecCGI
AuthName Webmin
AuthType basic
AuthUserFile /etc/webmin/htusers
require valid-user
</Directory>
</VirtualHost>

and added this to apache2.conf:

Quote:

SetEnv WEBMIN_CONFIG /etc/webmin
SetEnv WEBMIN_VAR /var/webmin
SetEnv SERVER_ROOT /webmin
SetEnv MINISERV_CONFIG /etc/webmin/miniserv.conf

Am i doing this right? I want to be able to access webmin from the URL panel2.ipalaces.org.
I did
Quote:

htpasswd -c /etc/webmin/htusers brian

and then set a password as "test" for brian. However it won't login.

View 1 Replies View Related

Win 2k3/ Apache2.2 - DNS Wildcard

Mar 16, 2007

got the VirtualHost entries for Appache, so each Domain points to a folder.

The (Windows-)DNS runs on the server, means i have to create a new DNS Reverse-Lookup and Folder for each Domain seperatly, but this workflow appears to be pretty stupid..

Now my question:

Anyone can tell me how to setup somwhat a "Wildcard / Catchall DNS", and also "Catchall VirtualHost", so each Domain is automatically pointed to the right folder? Any scripts needed for that?

View 4 Replies View Related

Apache2 To Lighttpd

Nov 3, 2007

to move my image host to lighttpd. Does anyone know any step by step tutorial to move to lighttpd?

View 8 Replies View Related

Upgrade To Apache2.2.6

Nov 8, 2007

I have server with fedora core 6 with plesk 8.2

how to make upgrading from apache2.0 to apache 2.2.6?

View 3 Replies View Related

Apache2 - Where To Set Maxclients

Aug 17, 2014

I am using Plesk 12 / Ubuntu 14.04

In PLESK 11 I could set maxclients, ServerLimit ..... in /etc/apache2/apache2.conf

But I cannot find these settings in apache2.conf.

Where to configure these settings, in which file?

View 6 Replies View Related

Install & Run Mod_deflate In Apache2

Jul 17, 2008

I want run mod_deflate in my serve my server is apache 2.0.63

How can I do this?

View 0 Replies View Related

Apache2 Reverse Proxy

Apr 26, 2009

I have a mobile email application (for Zimbra) that is not compatible with HTTPS, only with HTTP.

Is it possible to configure a Reverse Proxy so I can bypass the SSL? Something like this:

[url]<-> REVERSE PROXY <-> [url]

I was able to configure a Reverse Proxy but when it comes to https, something does wrong! here is my vhost config:

Quote:

NameVirtualHost mail.domain.com:*

<VirtualHost *>
ServerName mail
ServerAlias mail.domain.com

ProxyPreserveHost On
ProxyVia full
SSLProxyEngine On
ProxyRequests On

<proxy *>
Order deny,allow
Allow from all
</proxy>

ProxyPass / https://mail.domain.com/
ProxyPassReverse / https://mail.domain.com/

</VirtualHost>

I have all mod_proxy modules (and its sub-mods) load. If this is possible to achieve, I think it's only a manner of configuration lamess.

Have someone configured anything like this before?

View 2 Replies View Related

Generic Subdomain Under Apache2

Apr 28, 2008

On my webserver I host about 10 websites. I want to set up a subdomain of webmail.domain that works for all the domains but goes to the same squirrelmail install. Is there an easy way to do this or do I need to add code for each domain?

View 9 Replies View Related

Apache2 Error Log Huge

May 15, 2008

The error logs on my web server keep growing to stupidly large sizes within a couple of weeks.

when i look through the error logs it seems to be showing exactly the same line but just from diffferent Ip addresses. the line is as follows

[Sun May 11 07:11:41 2008] [error] [client ###.###.###.###] File does not exist: /var/www/phpmyadmin/tracker

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved