Server :: Setting Up Mod_deflate For Apache On Redhat3

Feb 23, 2010

I'm trying to use mod_deflate to compress my files in Apache. I've put in the lines necessary in httpd.conf

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip

[code]....

I'm using the same mod_deflate on an el5 server and it works fine.

View 5 Replies


ADVERTISEMENT

Software :: Enable Mod_gzip An Mod_deflate On Server

Aug 10, 2010

How do I enable mod_gzip and mod_deflate on my server.I am using Apache 2.2.8 and php 5 on Fedora 7.

View 1 Replies View Related

Server :: Setting Up The Apache 2.3?

Feb 2, 2011

I had a server running Debian testing and an update borked my Apache 2.0 server. So after several hours of config edits, changes, and WTF?!?!'s I decided to remove it (Via Apt). I then downloaded the source from apache's site and did the whole ./configure, make, make test, make install, and that's all done now. But I have no idea past this right now to get my server up and running. Here's my site

[URL]

I have a 2wire router, setup so that the server has no firewall on it. There is no UFW installed on my Debian machine either. I'm running kernel 2.6.32 right now. When I localhost on my machine it goes to the site, but when I enter the IP of the machine on a different PC on the same LAN, it won't show up. When navigated to on a machine not on the LAN, I get a 502.

View 11 Replies View Related

Software :: Setting Up Apache Web Server

Dec 26, 2009

Today I tried to install an apache web server on my second home computer. Here is what I have done:
- installed ubuntu server edition (Jaunty)
- installed apache2
- made my ip address static
- forwarded port: 21, 80, 5900 on my router

If I now go to http://192.168.62.58 then it shows "It Works!". So the server is running in my home network. For users outside my home network the ip address is 82.168.191.101. If a friend of me goes to that address, then it does not work. Also I have tried to link this address to myhomeserver.dyndns.org for testing, but that does not seem to work either.

Now I got my doubts about the following:
I'm using a router on which 4 computers are connected. I do not know for sure, but if someone connects to myhomeserver.dyndns.org, then how does it know to which computer it should connect? Isn't there a way to fix the connection to the server?

View 6 Replies View Related

Server :: Setting Up A Web Server On (Centos) Using "Apache" Web Server?

Mar 4, 2010

I setting up a web server on my Linux (Centos) using "Apache" web server. And its working well, it will show my websites. But when i try to put my url in a internet browser (ie. only type [URL] ) is only be [URL]. Usually as i know like the other websites [URL] it will go to auto replace the name be [URL]. But my url here it's not be replacing like that. How to do this configuration. I don't know where the services that i need to look. (ie; named (bind) or in Apache web server it self) ?

View 1 Replies View Related

CentOS 5 Server :: Apache 'server-status' 404 Not Found + Munin Apache Stats?

Oct 14, 2010

I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.

first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5

[code]....

View 7 Replies View Related

Ubuntu Servers :: Setting Up Apache In 10.10?

Dec 7, 2010

When starting Apache I get this error in 10.10 (not in 9.10): [Fri Dec 03 21:14:22 2010] [error] (2)No such file or directory: could not open transfer log file /etc/apache2/${APACHE_LOG_DIR}/other_vhosts_access.log. Unable to open logs So where do I define APACHE_LOG_DIR ?

View 4 Replies View Related

SUSE / Novell :: Clear Apache Cache Without Restarting Apache Server?

Feb 4, 2010

Any one have an idea How to clear apache cache without restarting apache server.

View 5 Replies View Related

Server :: Tunnel Apache Virtual Host To An Internal Apache?

Jan 24, 2010

I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.

However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?

View 5 Replies View Related

Ubuntu Installation :: Setting Up Virtualhost Apache?

Aug 22, 2011

I am setting up a VirtualHost on my Apache. I am quite not familiar with Ubuntu setup so I am wondering what will I do with the 000-default file (which contains a template of virtualhost syntax)? What filename will I save it to?

View 1 Replies View Related

General :: Setting Up YUM Local Repository Using Apache?

Feb 17, 2011

I am setting up a local YUM repository in which I will have one computer accessing the RHN network and the clients will pull the updates from that server.

I have seven linux computers that I need to have access this repo server via apache.

I called Red Hat support and this what they told me to do....

On the YUM Repo Server -
> go to /etc/httpd/conf
> copy original to something else (you name, just save the original)
>edit the httpd.conf file
> add in ServerAdmin root@10.24.79.195

[Code].....

how to configure apache -- when I was on the phone with Red Hat we went so fast that I couldn't write down everything.

View 3 Replies View Related

Software :: Setting Which Is Not Correct In Cacti Or Apache ?

May 25, 2010

I have apache and Cacti rpms installed and I see this error in the Apache log when accessing various menu items in cacti with this error:-

Does any one know where the setting is stored Rpms installed :-

Where to look for the configuration file which contains the incorrect setting /usr/share/cacti/cacti I suspect it should read /usr/share/cacti

View 2 Replies View Related

Debian Configuration :: Apache - Setting Up Squeeze Test Box

Jul 16, 2011

Setting up my Squeeze test box, I can't seem to get APache2 to find index.html. It keeps coming up with the initial "It works!" page.

On my Squeeze server, the /etc/apache2/httpd.conf file contains this line:
DocumentRoot /home/www_local
and that box serves the website perfectly.

On the test box, I created the /home/www_local directory and put an index.html file in it, then populated /etc/apache2/httpd.conf with exactly the same DocumentRoot line and restarted Apache. Still the same result -- Apache isn't finding my index.html file. I have grep'ed all the files in /etc/apache2 and /etc/apache2/conf.d looking for 'DocumentRoot' and it's not in any of them.

View 2 Replies View Related

Ubuntu Servers :: Setting Up A Virtual Host In Apache ?

Feb 22, 2011

I am trying to set up an Apache2 virtual host to test sites I make from my own computer.

I used this guide to set up my LAMP and vHost, The LAMP stack seems to be working great, but I run into some problems when I try to set up a vHost

As described in the guide I

1. made a new directory in my home folder /home/[myname]/www/test.dev to put my site in (it currently contains a simple index.html file as a test).

2. In /etc/apache2/sites-available I copied the file "default" and renamed it "test.dev"

3. I edited the content of "test.dev" to look like this:

Code:

4. I enabled the site using the command "sudo a2ensite test.dev". I then restarted apache "sudo /etc/init.d/apache2 reload".

5. I edited the hosts file: "sudo gedit /etc/hosts" to look like this:

Code:

6. I restarted apache "sudo /etc/init.d/apache2 reload".

Now if I enter "http://test.dev" in my firefox's adress bar I just get the apache2 "It works!" site. What is going wrong to cause firefox to show the "It works!" page rather then my own test site?

View 1 Replies View Related

General :: Netstat Command To See If Apache Hit The MaxClient Setting?

Jun 15, 2011

Whats the proper netstat command to see if Apache hit the MaxClient setting?

View 1 Replies View Related

Software :: Setting Up Apache To View Awstats From Web Browser?

Feb 28, 2009

I just installed AWStats on a new server and can't get perl to properly work as a cgi in apache. I've done this before and got it to work, and I've tried a couple suggestions found from google with no luck. When I try to access [URL] from my browser, Apache doesn't give any errors or anything, it just outputs the perl file in plain text, which implies that it's not handling the .pl file as a perl cgi, but I just don't know why.

Code:

<VirtualHost *:80>
DocumentRoot /webs/mysite.com/wwwroot
ServerName mysite.com
ServerAlias www.mysite.com

[code]....

View 12 Replies View Related

Ubuntu Servers :: Setting Apache DocRoot To Folder In Home Directory

Jan 9, 2010

Vanilla install of Karmic (64 bit) - would like to change the Apache doc root to point to /home/sam/www as it's my web development machine. (Default install is working fine)
Created copy of 'default' to 'mylocal' in '/etc/apache2/sites-available'

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/sam/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/sam/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
...

The permissions on the folder in my home dir:
Code:
sam@rocket:~$ ls -la ww*
total 16
drwxrwxrwx 2 sam sam 4096 2010-01-09 22:26 .
drwx------ 35 sam sam 12288 2010-01-09 22:11 ..
-rwxrwxrwx 1 sam sam 100 2010-01-09 22:27 index.html
sam@rocket:~$ pwd
/home/sam
sam@rocket:~$
The sites enabled set up:

Code:
root@rocket:/etc/apache2# ls -la sites-enabled/
total 8
drwxr-xr-x 2 root root 4096 2010-01-09 22:24 .
drwxr-xr-x 7 root root 4096 2009-12-20 00:22 ..
lrwxrwxrwx 1 root root 26 2010-01-09 22:24 mylocal -> ../sites-available/mylocal
But I still get:
"Forbidden
You don't have permission to access / on this server".

View 8 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

Jan 20, 2011

I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:

1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..

View 3 Replies View Related

Server :: Server Slow : Apache Mysql Fine Tuning Server For Faster And More Responsive?

Apr 21, 2011

I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram

The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?

Httpd.conf

Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....

View 2 Replies View Related

Ubuntu Servers :: Writing Specialization Work About Administration Apache And Ftp Server On 10:10 Server?

May 22, 2011

Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.

View 7 Replies View Related

Server :: Config Apache Server To List Php, C/c++, Java Files As Regular Txt On Website?

Feb 2, 2011

I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,

e.g /var/www/mydomain/pub

i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,

if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,

Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Server :: Config Apache Server To List Php / C/c++ / Java Files As Regular Txt On Website?

Feb 23, 2011

config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Ubuntu Servers :: Home Web Server - Cant Set Up Apache As Named Server Using Bind DSN

Dec 7, 2010

I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.

[code]...

View 6 Replies View Related

Server :: Apache Server In No Starting / Not Strating On Default Configuration File?

Mar 21, 2011

I have install Mandriva 2009 and install apache server but its not strating on default configuration file . What I should do for starting apache . i have tried /etc/init.d/httpd start but apache is not running .

View 1 Replies View Related

Server :: In Apache Server, Change Log File Location And Log Format For Access Log Fil?

Aug 19, 2009

I installed Apache server with Debian 5.0.2 Lenny. I am trying to write a script which would analysis web log files. I found the log files on /var/log/apache2. There is an access log file, `access.log`. My question is what configuration file determines the location and the name of the access log file. How can I change them? I used CustomLog in /etc/apache2/apache2.conf like below.LogFormat ": %h %l %u %t "%r" %>s %b" common
CustomLog /home/test/my_log_file common Apache2 generated /home/test/my_log_file. But no logs were written in the file even after I run `/etc/init.d/apache2 restart`. Ichanged the log file location. It still didn't work. However, Apache2 still wrote logs in the file `/var/log/apache2/access.log`

View 1 Replies View Related

Server :: Performance Tunning Of Apache-tomcat And Jboss Application Server?

Jul 2, 2010

Can anyone tell me in performance tunning of apache-tomcat and jboss application server?when I deploy some application in apache-tomcat the performance is say 100 users per second and incase of jboss it is even worst (35-40 users per second)i want to improve my performance 1000 uesrs per second..

View 1 Replies View Related

Server :: Single Wildcard Certificate For Apache Httpd Server And Tomcat?

Feb 10, 2010

I have a requirement of using a wildcard certificate for 5 subdomains running under apache httpd server and 1 subdomain under tomcat.Is there any possibility of using the single wildcard certificate both in tomcat and apache

View 3 Replies View Related

Server :: Apache Server Not Recognizing Virtual Host Fedora 12

Apr 17, 2010

I installed apache server on my Fedora 12. Its showing the test page 127.0.0.1, but when I give the address 97.168.234.76 (0r www.chaalu-kam.com), it tells that the requested url could not be retrieved.

I have made the following additions to the /etc/httpd/conf/httpd.conf file

Code:

In addition to this, I have added this to my /etc/hosts file

Code:

I wanted to test the Apache server on my laptop only by putting an html file in /var/www/html and naming it as index.html. I want this index.html page to be displayed when I put www.chaalu-kam.com in my browser. What should I do? My firewall is off too

View 10 Replies View Related

Server :: Of FQDNs - Sendmail - And Apache VirtualHost Server Aliases

Feb 26, 2011

I'm setting up a full server configuration on Fedora, moving it from Mandriva which sadly faces a rather uncertain future. Things are going well and I will be ready (and more familiar with Fedora) in time to upgrade to Fedora 15.

What I have done so far in regard to networking setup:

I first removed Network Manager and replaced it with the network service (chkconfig --level 25 network on). That put an end to the overwriting of /etc/hosts, which now reads simply:

View 2 Replies View Related

Server :: How To Get Any Mail Generated From Apache Site On Centos Server

Jul 22, 2011

I am running a CentOS 5.6 Server with a website and Forum. The website has a contact form and users can email various people in the organization. I have setup sendmail to send any mails like this to my email address on a Windows machine.The problem is that there emails don't have a header which has the senders original email header. It comes from localhost on my sendmail. How can I get any mail generated from the apache site to ALSO send mail to root on the Centos Server? That way I should be able to see the header and report the spammer or block them.

View 2 Replies View Related







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