0
votes
0answers
36 views

Why does “Connection Failed: 2002” display randomly on my PHP/MySQL website?

I'm running CentOS 6 with Apache/PHP/MySQL. PS. I'm sort of a novice at Linux, but I did my best to gather info before coming here. I'm now a bit stuck. I recently upgraded PHP to version 5.5.12. I ...
2
votes
1answer
20 views

Virtual Host only works when SELinux is set to permissive - why?

Wondering why my virtual hosts will only work when SELinux is set to "permissive". When SELinux is set to "enforce" my virtual hosts are ignored and default host is shown. Apache/2.2.15 (Unix) Here ...
1
vote
0answers
28 views

Virtual Host setup works for one server, not another

Having an issue with my virtual host set up. Used this tutorial as a reference on both: http://youtu.be/wXIJMtwmPCE Apache/2.2.15 (Unix) on both servers. Seemingly Identical httpd.conf file on both ...
0
votes
1answer
35 views

Apache Virtual Host Include Not Working

Attempting to get my domain to redirect to the associated vitual hosts, but the Include is not working as expected and displaying the proper htdocs directory. It is still displaying the default apache ...
1
vote
0answers
36 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to acces the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't acces the webpage when entering the ...
2
votes
1answer
56 views

I cant save files in /var/www/html

I'm running Centos 6.5 and I'm having problems saving my files to /var/www/html. The folder currently belongs to root and I have gone through everything from SELinux to configuration procedures, but ...
2
votes
3answers
600 views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried https://fedorahosted.org/SoftwareCollections/ but unfortunately its for RHEL after installing i ...
-1
votes
1answer
32 views

CentOS, Apache Vhosts enabled,but DOCUMENT_ROOT cant towards /home/auser/website/www1 [closed]

environment CentOS 6.5 x86_64 Apache2.4.9 (locate=/usr/local/apache2) PHP 5.5.13 (locate=/usr/local/php5) Apache vhosts enabled. site1 domain=localhost ...
1
vote
0answers
108 views

Improving TCP performance over a gigabit network

I have two machines both network cards speed is 10Gbps. The inbound bandwidth between the two machines is 10Gbps, the outbound bandwidth internet bandwidth is 500Mpbs. Both machines are using public ...
0
votes
1answer
60 views

PHP on centos 6 not working

I have installed PHP, MySQL, Apache on CentOS 6, now I have restarted the Apache and mysql, to test PHP i have created a index.php on /var/www/html/test/ now once i go to localhost/test/index.php then ...
5
votes
1answer
159 views

Apache, Group Permissions and User Uploads

I have a folder named "digitalgoods" with the following ownership -- apache:apache residing outside of the htdocs folder and is therefore not accessible to the public. However I need the same folder ...
0
votes
1answer
37 views

Permissions for non-htdocs directory

I have created a folder outside of my htdocs directory as a means of adding extra security for downloadable digital goods to be sold from within a Magento storefront; so my question is: what ...
-1
votes
1answer
57 views

What does ~ mean at the end of a file name (e.g. httpd.conf~)? [duplicate]

I edited a fresh apache config file in CentOS 5 using gedit. When I looked at the directory I saw now two files: httpd.conf and httpd.conf~ What does the ~ signify?
2
votes
1answer
182 views

Downgrade PHP 5.4 -> 5.3 on CentOS 5.10 [closed]

Due to being in some dependency hell and some issues with PHP 5.4, we downgraded from PHP 5.4 -> 5.3. Since doing so, a few of our web apps are acting strange. E.g: # php index.php Results in: ...
5
votes
3answers
314 views

Apache server starts automatically after stopping the service

What can cause httpd to start automatically after stopping it? In a bash script I need to first stop apache web server. This is the script: apachectl stop; while pgrep httpd; do sleep 1; done echo ...
0
votes
2answers
313 views

Apache Tomcat not working

I am a Linux beginner and have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to ...
0
votes
1answer
75 views

libphp4 Not Found?

I'm using CentOS 6.5 and Apache 2.2.15 I've installed PHP 4.3.11 by download: wget http://museum.php.net/php4/php-4.3.11.tar.gz tar zxvf php-4.3.11.tar.gz cd php-4.3.11 ./configure make make install ...
1
vote
2answers
1k views

CentOS how to update Ant Version to 1.8.x and higher?

I'm using CentOS v6.5 and installed Ant by using: yum install ant But it came with Ant version 1.7.1. And i need the latest Ant version 1.8.0. How to properly get the latest Ant version 1.8.x (or ...
0
votes
2answers
298 views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
1
vote
3answers
13k views

Open port 80 in CentOS 6.5

I'm trying to open the Port 80 in my CentOS 6.5, on my virtual machine, so I can access the apache from my desktop's browser. If you take a look at the screenshot above.... I've added the line ...
2
votes
1answer
571 views

Apache throws 403 Forbidden after moving DocumentRoot (CentOS 6.4)

I installed Apache via yum on CentOS 6.4. I changed the DocumentRoot in /etc/httpd/conf/httpd.conf to point to /home/djc/www: DocumentRoot "/home/djc/www" <Directory "/home/djc/www"> ...
2
votes
1answer
1k views

Allow all users can write files/folders of user “apache”?

I run Apache 2.2.15 on CentOS 6.4 When a web local run a function and it created files/folders owned by user "apache". I can read these files/folders via samba but i can't write/delete them. I've ...
2
votes
6answers
646 views

Does LAMP Stack have a GUI?

I just bought a VPS server with LAMP. I have SSH access, however no clue how to use LAMP. I used to work with cPanel in the past. So far, when I type the server address I get the default "Apache 2 ...
1
vote
1answer
235 views

Worker MPM or Prefork?

I understand that there is a comparison topic between the two modules but this is different. I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They found ...
1
vote
0answers
167 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the ...
0
votes
0answers
38 views

Help required for LAMP Stack fail-over Configuration

I am using cloud servers of digital ocean for last some months. Recently One of my cloud servers disappeared from panel with backups @ ubiquity, the server co guys put it back after 1 day. However my ...
1
vote
1answer
174 views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
1
vote
0answers
141 views

how to set up ldap and trac

I have set up kerberos authentication with trac which works well. Now I want to use AD groups and users for trac permissions using the trac plugin Configuration for LdapPlugin. I have been following ...
1
vote
2answers
104 views

Configuring CentOS apache server to default to a specific port for ExpressJS and Node

Completely new to Linux and virtual private servers so please bear with me. I have a webapp built on ExpressJS and NodeJS that runs on port 5000 of my server, accessible via web by typing: ...
0
votes
1answer
106 views

CentOS test page and .htaccess

When I use the line below in the .htaccess file, I get the apache CentOS test page. RewriteCond %{REQUEST_FILENAME} !-d How can I fix this?
0
votes
1answer
90 views

C-library HMAC_MD5 questions

We are working with an older software product that has some limited programming capabilities - specifically, no bit manipulation functions. This has created a significant problem as we need to ...
1
vote
2answers
2k views

binding ip address to hostname

I just registered a domain name and paid for hosting with CentOS and I found that I had to do the binding myself following the lengthy steps http://www.linux-sxs.org/internet_serving/bind9.html I was ...
2
votes
2answers
3k views

Running Open Vas via KALI Linux

We would like to run open-vas penentration test on a remote server and would no like to install it on the remote machine. Thus we have setup a Kali Linux Live machine for this purpose. So we first ...
1
vote
2answers
622 views

Minimize PHP.CGI.Argument.Injection and further hardening of the Centos 6.4 web server

We have Centos 6.4 server with a physical firewall. We keep seeing quite an number of PHP.CGI.Argument.Injection is detected by the firewall. On the server itself we have done the basic apache ...
2
votes
2answers
938 views

How do I find out what file Apache is serving when a port is hit?

I'm working on a server someone else set up. The server is CentOS 4.6 running Apache/2.0.59 (httpd). They have an update service setup on port 8443. I know it is working but I need to find out what ...
2
votes
2answers
3k views

CentOS - Issue with write permissions

I am running CentOS 6.4 and I have installed Wordpress on it. (along with LAMP) Now the problem is, that I cannot make any write changes to any files in the wordpress editor: eg. header.php, ...
0
votes
3answers
200 views

Brand new to Linux - running a web server/database server, need to connect to my servers- how?

I am brand new to Linux. I have a database server and web server both running CentOS. My database server will host MySQL and my web server will host Apache. I am very familiar with Windows and ...
1
vote
2answers
2k views

cannot create symbolic link on CentOS 5.6 - File exists error

I am trying to setup a symbolic link on my CentOS 5.6 machine to point dev_crmpicco/ to ~/vhosts/dev/dev_crmpicco/web/ I am using the following command: [crmpicco@devel dev]$ ln -s ...
1
vote
1answer
159 views

How to remotely check if apache server responds

I have 2 servers. one of them often crashes. I want to send a SMS to my phone when it crashes. I wrote this simple bash script in another server and put it in crontab to run every 10 minutes. wget ...
0
votes
1answer
85 views

How to add a virtualhost of a domain other than default folder?

I have a server (OS is CentOS) which has Apache. My default folder is /var/www/html/. When I add my domain this folder it works. But when I do this in httpd.conf <VirtualHost *:80> ...
0
votes
0answers
99 views

How to determine the sequence of ordering certificates by browser?

I did a Mutual Certificate Authentication implementation with OpenSSL and Apache Web Server on CentOS platform. To simple explanation see this diagram: ---------- | ...
0
votes
1answer
259 views

centos httpd.conf set different ip for a directory

I have 3 IPs in my server, i want use them to increase twitter API limits. How to set a different ip for a directory in centos 6.1 httpd.conf (apache 2.3.1) I added these line in the bottom of ...
1
vote
0answers
180 views

403 Forbidden on Sub-Folders

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, ...
0
votes
0answers
308 views

centos 6.3 apache local network not working

I have clean installed centos, apache, mysql, php and have my php pages running fine at 192.168.1.66. I type that ip in on another computer (macbook) on the same network and get nothing. Page time ...
0
votes
1answer
370 views

Installing Ioncube loaders without issues CentOS 5.9

Seem to be having issues installing Ioncube loaders on CentOS 5.9. I followed this guide to install Ioncube: but it's still not working on the site at all, I keep getting this error on BoxBilling, ...
0
votes
1answer
151 views

Bash config files being read in contradiction to `man bash`

While trying to determine the differences between .bashrc and .bash_profile I notice that .bashrc is never read, and that .bash_profile is only read from SSH, but not from PHP. This seems to ...
0
votes
1answer
3k views

“client denied by server configuration” with “AllowOverride All”

I've installed CentOS 6.3 with Apache 2.2 on a VM. I'm trying to set up a LAMP stack with these VirtualHosts: localhost loads the path /var/www/html/ lcl.mydomain.com loads the path ...
0
votes
2answers
85 views

Problem accessing an Apache-hosted folder

I'm running Centos 6.2, and Apache. I'm running into an error to do with access rights/permissions when trying to navigate to a webpage. I'm trying to go to the URL http://localhost/repos, but I get ...
0
votes
1answer
5k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
0
votes
4answers
6k views

HTTPd shows PHP code instead of executing it

My setup: # grep php /etc/httpd/conf/httpd.conf LoadModule php5_module modules/libphp5.so AddType x-httpd-php .php AddHandler php5-script .php # grep PHP /etc/httpd/conf/httpd.conf PHPIniDir ...