Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have configured two virtual Hosts on apache 2.2.22 running on ubuntu server 12.10 The first Virtual Host is the default *:80 and the second is running on *:8081 When I download from the default I can get 100Kbps, but when I download from the *:8081 I only get 2Kbps and the download eventually stops.

Do you have any idea of what the problem is?

This is my "/etc/apache2/sites-enabled/web" file

    Listen 8081
    <VirtualHost *:8081>
    DocumentRoot /home/servbod/Downloads/web
    ErrorLog /home/servbod/Downloads/web/logs/error.log
    CustomLog /home/servbod/Downloads/web/logs/access.log combined

    <Directory />
            Options FollowSymLinks
            AllowOverride None
    </Directory>

    #       Alias /web /home/servbod/Downloads/web
    <Directory "/home/servbod/Downloads/web">
            Options +Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            Allow from all
            #IndexIgnore log* *.php* favicon.ico
            IndexIgnore *.php*
            IndexIgnore favicon.ico
    </Directory>

This is my /etc/apache2/sites-enables/000-default file

   <VirtualHost *:80>
    ServerAdmin webmaster@localhost

    DocumentRoot /var/www
    #       DocumentRoot /home/servbod/web
    <Directory />
            Options FollowSymLinks
            AllowOverride None
    </Directory>
    <Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Order allow,deny
            allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            Order allow,deny
            Allow from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/access.log combined
    </VirtualHost>
share|improve this question
    
Any firewall along the way? Anything doing SPI? –  fuero May 14 '13 at 6:10
    
I remembered I have fail2ban. Now I stopped the service and I can get 60Kbps on the 8081 port but that is only 60% of the maximum speed. Any other suggestions? –  granyatee May 14 '13 at 9:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.