Tagged Questions
2
votes
1answer
14 views
Redirect a subdomain to a directory with vhosts
I'd like to redirect a subdomain to a user directory.
So I've tried this config, but it seems redirect to the root folder.
<VirtualHost *:80>
ServerName epnet.fr
ServerAlias *.epnet.fr
...
-6
votes
1answer
45 views
configuring two domains in same server
I am trying to configure two domains in same server, but i am getting with "the first has precedence, perhaps you need a NameVirtualHost directive"
Below is my Apache2 config file
<VirtualHost ...
0
votes
0answers
24 views
Script working from test to production server
I am running the following script:
http://phprestsql.sourceforge.net/
My test environment is a WAMP server running Apache 2.2.17 and PHP 5.3.4
My production server is running Apache 2.2.14 and PHP ...
-2
votes
0answers
19 views
Localtunnel won't work through virtualbox [closed]
I've also asked this question on StackOverflow
I'm running Ubuntu 12.04 in a virtual machine (Virtualbox, to be specific) on a Windows 7 host. I'm trying to set up a localtunnel (using ...
0
votes
2answers
31 views
Change php error reporting to hide warnings for specific site only [Debian|Ubuntu]
Imagine a couple of sites-enabled available from /etc/apache2/sites-available. (Only Debian-based distros work like this.)
Is it possible to mute warning messages from php scripts from a specific ...
0
votes
0answers
18 views
Apache mod_fastcgi correct configuration for virtual host?
I'm configuring mod_fastcgi on my vps. I put main directive in httpd.conf (ubuntu 12.04):
<IfModule mod_fastcgi.c>
Alias /php5.fastcgi /var/www/fastcgi/php5.fastcgi
AddHandler ...
2
votes
2answers
81 views
How do I identify which website on my server is under heavy traffic?
I currently host one website on a server which many other websites use connect to via an API.
When I use the terminal command 'top' I can see www-data is the main culprit for my server running slow.
...
0
votes
1answer
26 views
mod_deflate is working but send wrong headers
I'm using mod_deflate to server gzip content for js and css files.
Using curl I can see that it works and I can see the code but Chrome still thinks it's gzip content and NOT stylesheets/javascript ...
0
votes
2answers
30 views
Apache Virtual Host not working on .com domain
I have got a strange problem.
I have two domains: mysite.co.uk and mysite.com, which need to point to the same directory on my server. The VHost for mysite.co.uk works perfectly. However, mysite.com ...
1
vote
1answer
17 views
Ubuntu Samba share not writable by Apache on another machine
I have a basic shared folder on a ubuntu desktop (VM) that I want everyone to have 100% read/write to it. I can set this up, and use a mac to connect and mount the folder but logging in as the ubuntu ...
-2
votes
2answers
54 views
How to set port 44400 as default in Apache?
My website work only if I run:
domain.com:44400
How to set port 44400 as default in Apache?
I need have access by domain.com not domain.com:44400
0
votes
1answer
62 views
Ubuntu Server with win2k8 Server VM to Host IIS Site Issue
I have a ubuntu server(host), and a windows 2008 r2 server(client) virtual machine on it.
All my IIS based sites are located on the host machine, in a location which is shared with the client vm.
I ...
0
votes
2answers
31 views
Hosting Nginx and Apache on same system with 2 IP
My server holds two IP 192.168.1.90 and 192.168.1.99
I want nginx to listen on 192.168.1.99 and Apache on 192.168.1.90
I also need to host multiple virtual hosts on apache.
tried modifying ...
0
votes
1answer
63 views
Apache gzip compression
I have an inherited Apache 2.2.17 server running on Ubuntu that I need to enable compression on. I have ensured the mod is loaded:
apachectl -t -D DUMP_MODULES
Loaded Modules:
...
deflate_module ...
-1
votes
0answers
31 views
Apache configuration. Connection timeout [closed]
I'm trying run website on ubuntu server but it does not work.
I'm trying run: my.domain.com:33333 but this return:
The connection has timed out This is my configuration:
...
0
votes
1answer
31 views
Ubuntu 12.04: Apache2 symlink to Windows Drive [duplicate]
I have Ubuntu 12.04 and Windows 7 on the same machine.
<VirtualHost *:80>
ServerAdmin admin@example.org
#ServerName example.org
#ServerAlias www.example.org
DocumentRoot ...
0
votes
1answer
21 views
apach2 block non-name-based virtual host
I am using apache in Ubuntu 12.04. I set up my apache server using name-based virtual host, but it seems block other port when I want to access other port directly using IP address.
I run
sudo ...
-1
votes
2answers
52 views
SSH stopped working for no reason
Please help. Everything was working fine. How can I connect to the command line now?
Configuration
Amazon EC2 server
Ubuntu & Apache2
Only one user (root - not real name) has SSH access, ...
0
votes
1answer
39 views
installing and configuring hadoop on ubuntu
I'm unable to locate the file hadoop-ec2-env.sh.
I've downloaded and intalled hadoop_1.0.4-1_x86_64.deb from http://mirror.olnevhost.net/pub/apache/hadoop/common/stable/
This is the most recent ...
1
vote
0answers
31 views
Setting up SSL on an Apache Ubuntu Server
I am setting up an SSL certificate for the first time on an Ubuntu server. I have purchased a dedicated IP address and have purchased the certificate under the subdomain of secure.example.com
Port ...
0
votes
1answer
66 views
apache2: two virtual hosts interfere
I am a developer, not a sys-admin :)
I always have been running multiple vhosts in parallel on different ports,
but this time something is interfering.
I have one vhost which runs a python-based ...
0
votes
1answer
44 views
Ubuntu dns not resolving
After a power outage last night the Ubuntu production web server I am responsible for is not resolving its domain name to the ip address. I can access the web server by typing the ip address into a ...
0
votes
2answers
29 views
Webmin Multiple websites and user permissions
I have installed Webmin on an Ubuntu Server where I host multiple websites. I create a new virtual host and new user for every website I host. My process is:
Create a new user for the website
SSH ...
1
vote
4answers
61 views
Web server response time variability
I have Apache2 Web server and tiny PHP script
<?php
echo '1'
When refreshing page the waiting time value in Google Developers Tools can vary from 24-26 ms to 300-350 or somtimes it is even more ...
0
votes
1answer
42 views
Set FTP User default directory to /var/www Ubuntu Server
Trying to figure out the best way to set the default directory for the few FTP users we have (3 in-house developers who need access simply to the WWW directory). Want to just set it so that if any of ...
0
votes
0answers
13 views
Why is apache crashing with Zend Debugger?
After installing zend debugger, downloaded from zend.com, apache2 just crashes with
apache2[7256]: segfault at 94 ip b7778ab0 sp bfa22ac0 error 4 in ld-2.15.so[b776d000+20000]
I'm running Ubuntu ...
0
votes
1answer
47 views
mod_vhost_alias VirtualDocumentRoot many domains
I'm sure I'm not the first person to encounter this problem, but I cannot, for the life of me, find an answer - although that could be down to not knowing what to search.
I have the need to host many ...
0
votes
1answer
17 views
Apache HTTPD “sites/mods-enabled/available” configuration
I've recently moved from the default Ubuntu/Debian apache2 packages to installing the Apache HTTPD from the official tarballs. I have everything working fine, but I wanted to know if there's any easy ...
0
votes
2answers
52 views
page does not end up directly under domain
I'm trying to set up a java page using Apache and tomcat on a Ubuntu server. The problem I'm having is that the page does not end up under the domain but in a virtual folder on the domain like this.
...
2
votes
1answer
30 views
Throttling on specify mime types using Apache
I have a project that I want to throttle the speed on specify mime types, these mime types are as follows:
application/x-rar-compressed .zip
application/zip .rar
So my question is straight ...
0
votes
1answer
44 views
How can I automatically delete old apache error log files?
My /var/log/apache2 folder is getting out of hand. It has loads of old compressed error.log files that I want to get rid of before my server runs out of space and explodes.
Firstly - Is it safe to ...
0
votes
1answer
107 views
All HTTP connections refused from public IP yet all others are fine?
I wasn't sure how to describe this problem in the title, so I'll give you a little background on it.
I have a machine running Ubuntu 12.10 Server with Apache 2.2.22 (all packages at latest release ...
0
votes
0answers
32 views
How to configure Tomcat to handle jsp files from Apache DocumentRoot
This is my Virtual Host configuration:
<VirtualHost 127.0.0.1:4001>
DocumentRoot /home/myusername/Documents/www
JkMount /*.jsp ajp13_worker
Options FollowSymLinks
ErrorLog ...
0
votes
0answers
54 views
Mod-security Ip address mismatch
[Tue Apr 09 06:05:38 2013] [error] [client 27.251.237.74] ModSecurity: Access denied with code 403 (phase 1). Match of "streq %{SESSION.IP_HASH}" against "TX:ip_hash" required. [file ...
0
votes
1answer
26 views
Ubuntu IP Redirect [closed]
This is my problem. I have a Ubuntu computer running Apache/SQL/phpMyAdmin the goal that I want is that when someone logs on to the network if they type in encc in the url bar it will direct them to ...
0
votes
0answers
16 views
Calling odbc_exec from CLI and Browser
I have a php script that connects to and returns stock information from a database. When the script is run via command line (cronjob) it runs without a hitch. If I try and call the same script with a ...
0
votes
1answer
311 views
Why - Could not find worker with name 'jk-manager' in uri map post processing?
I am using apache2 + mod_jk(ajp protocol) + tomcat7.
but I always get the error below:
[Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized
...
0
votes
2answers
52 views
VPS multiple IP's
I have added 2 more IPs and PHP is not working on those domains. Looks bizarre. I must've done something wrong but cannot figure out what.
IPs: 111.111.111.111, 222.222.222.222 and 333.333.333.333
...
1
vote
1answer
17 views
can I suppress apache2 error messages about clients denied by server configuration
For about 36 hours I made a config mistake and left an apache2 server forward proxy open to all.
I've closed this, but the server is still getting hammered by hopeful ad spammers.
My apache error log ...
0
votes
1answer
42 views
www-data user on Ubuntu default LAMP install
Ok I feel like this is a very dumb question but after years of working with Ubuntu/LAMP I still don't know the answer.
Out of the box of course the Ubuntu LAMP server uses the www-data user for ...
1
vote
5answers
151 views
Ubuntu - How can I see what an IP is doing in my server?
I'm having problems with my server, and have been using iftop to show connections to and from the server in real time.
It shows an IP address that is constantly connected to/from me, but I can't find ...
0
votes
1answer
41 views
How to add write permissions to php/apache? [duplicate]
I've got the following scenario:
There's a folder named "uploads". It's owned by "root" and it's group is "webmasters". Permissions are set to 755.
drwxrwsr-x 2 root webmasters 4096 Mar 20 22:49 ...
0
votes
2answers
31 views
Updating apache2 keys, ssl validation fail on apache2 start
I got a new set of keys for my apache2 server, the old ones expired, and I'm at a loss how to troubleshoot.
I tried to just copy the new keys to the keystore at /etc/ssl/ and rewrote the paths ...
0
votes
1answer
26 views
Apache website Subfolder served by another server, not on the same local network
I'm setting up 2 ubuntu servers in different locations, one blog, one forum. I was going to use a subdomain for the forum but decided instead to make it a subfolder, example.com/forum.
Is there a way ...
0
votes
1answer
74 views
Apache2 configtest segmentation fault
For whatever reason I managed to mess up Apache quite bad (Ubuntu 12.04). The output below complains about configtest failing and a segmentation fault. However, I can't find anything in ...
0
votes
0answers
79 views
How to prevent Ubuntu server from hanging due to jbd2/sda2-8 and flush-8 processes
I have an Ubuntu server running Apache, PHP, Memcache. The problem is that the server hangs for a few seconds every minute or so.
Running iotop, I see intense disk activity when the server hangs, due ...
1
vote
1answer
68 views
All virtual hosts giving same site
My linux server hosts 3 virtual hosts, example.com, example.net, and example.org, separately configured to listen on 192.168.1.90:80 and respond to the addresses, the root directories are different ...
0
votes
1answer
48 views
How to create an apache proxy from subdirectory to subdomain
I have a server running 3 Apache Virtual Hosts.
they are xxxxxxxxx.com , wiki.xxxxxxxx.com and yyyyyyyyy.com
So what I have been trying to do is get the server to act like a proxy so that when a ...
0
votes
1answer
63 views
Update PHP to latest version from source
I am currently running PHP 5.4.6-1ubuntu1.1 (CLI) (built: Nov 15 2012 01:18:34) on Xubuntu. I would like to update to the latest version or >= 5.4.7. Is there another way to do this instead of ...
0
votes
1answer
96 views
How to give the Apache group write access to log files, and an FTP user read-only access
Ubuntu 11.10 server
I have a user bob who's home directory is /home/sites/bob. In that there are directories public_html and logs.
Apache runs under the www-data user. bob's primary group is ...


