The apache web server.

learn more… | top users | synonyms

3
votes
2answers
757 views

Apache config in sites-enabled not being detected?

I'm trying to set up my new redhat server and I have apache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns: ...
0
votes
3answers
81 views

Apache - Dynamic Subfolders

How does YouTube make folders dynamic? For example you can access people's channels in the root directory, like: http://youtube.com/PewDiePie Making a new folder for each channel is most ...
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
1answer
109 views

Why wouldn't Perl CGI script run

I'm using Apache on CentOS and am trying to run a Perl CGI script as directory index so it will run automatically as a subdomain. I added DirectoryIndex script.cgi and added a Directory stanza noting ...
3
votes
2answers
210 views

How to host a website on personal computer

I want to start hosting my website at my own computer as well websites of my friends too (say mini hosting platform). I learned Debian, Bind9 and Apache for this purpose. On my system everything is ...
0
votes
1answer
518 views

How to install a2dissite and a2ensite on openSUSE 11.3?

I don't have the a2dissite and a2ensite commands on my openSUSE 11.3 webserver. How can I add them? I didn't find these commands with YAST. Maybe, because there are no openSUSE 11.3 repositories ...
1
vote
1answer
90 views

apache mod_headers use base 64

I am currently migrating a reverse proxy which is using apache. I have one application which need to transfert headers to the backend. For this I am using the following in my conf : RequestHeader set ...
0
votes
0answers
192 views

WordPress on LinuxMint: Can't create directory (or write file)

I run Linux Mint, with Apache2, PHP and MySQL. I've activated modules for Apache so that users' public_html can be used and that PHP-scripts can be run from them. I installed WordPress in my ...
1
vote
1answer
297 views

Port 80 refused by Linux (Ubunt 12.04)

I am having an issue I cannot seem to resolve. I am being refused only on port 80. However port 8080, and 22 (Tomcat and ssh) are available. I am pretty sure this is not an Apache thing, however I ...
2
votes
1answer
160 views

LAMP Hardening, Transparent Proxy with iptables

I'm running a LAMP server with FTP(S) and several users. The users have only access to uploading PHP files and other web content. Some are running Drupal and Wordpress, but also a few home made stuff. ...
2
votes
1answer
298 views

Allow world access to directory under 0750 directory

I prefer to keep my /home/dotancohen/ directory as permissions 0750. However, I do need Apache to access /home/dotancohen/someProject/public_html/. I know that I could configure the home directory as ...
1
vote
2answers
2k views

Apache2 userdir enabled, but still have no access

I am trying to set up an apache server on my Kubuntu 13.04 laptop. I have installed the apache2 package and sudo a2enmod userdir; sudo service apache2 restart, but still when I visit ...
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 ...
0
votes
1answer
143 views

Installing Domjudge in Fedora 19

I tried to install Domjudge in Fedora 19 (based on its documentation) and it installed successfully but when I try to start it in browser (localhost/domjudge) I get the following error: Forbidden ...
1
vote
1answer
135 views

Preventing script execution and file downloads in a directory?

I have a directory on my website where I'm storing files uploaded by users. I use a whitelist for uploaded file types and also save the files with hashed names, but from what I've read another good ...
1
vote
1answer
1k views

Binding domain name to Apache Virtual host on VPS

recently company I work for has rented VPS. Now i need to have multiple websites hosted on this VPS, that is not a problem, I'v set up virtual hosts, databses, etc. Now i wanted to test it, see if I ...
0
votes
2answers
435 views

How can I access the log via a php script?

I have a statistics-file on my apache server on /var/www/vhosts/test/statistics/logs/access_log I tried using echo system('cat /var/www/vhosts/test/statistics/logs/access_log'); in a php ...
5
votes
2answers
8k views

How can I get TLSv1.2 support in Apache on RHEL6/CentOS/SL6?

I'd like to have TLSv1.2 support in Apache on my Scientific Linux 6 (RHEL6 rebuild) server. Is there some semi-supported pathway to getting this working? Preferably with minimal custom rebuilding. ...
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
669 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
1k 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 ...
4
votes
2answers
589 views

Apache refuses to start on any port

I can't seem to get Apache to start on any port. I'm always getting the error: apache2(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 I checked to make sure that ...
0
votes
1answer
126 views

Unable to access http service intranet

I'm not sure if this is the right place, if this is the case I will move the question with no problem. I'm setting up a web server for testing Wordpress. Everything works fine if I try to access the ...
1
vote
1answer
142 views

Where would I find where an .htaccess file is located and being used on a Mac OS X Lion server that sets Basic Auth on an Apache server?

I've installed some software, namely, a continuous integration (CI) server (Jenkins) on a Mac Mini running Lion Server. The server, by default, runs from port 8080 on local host via the url: ...
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, ...
1
vote
1answer
101 views

Accessing Apache server over the Internet [duplicate]

I'm trying to access my Apache server over the Internet. When I use my external IP to connect from a different system, my router's welcome page is displayed. How can I access the server?
0
votes
1answer
828 views

Security - Giving Apache write access to /var/www/html

I am running Worpdress on an CentOS Webserver. Now, to enable wordpress to be able to upload/write files to the default webserver directory /var/www/html I had to do the following change on the ...
0
votes
1answer
343 views

Multiple PHP Versions / cPanel with mod_fcgid

I'm trying to get multiple PHP versions working on a cPanel server which was compiled with mod_fcgid and PHP 5.3. Below is the PHP config generated by cPanel. AddHandler fcgid-script .php5 .php4 ...
0
votes
3answers
207 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 ...
0
votes
1answer
399 views

Cannot start Apache server with Bugzilla installed

Linux noob here... I've installed Bugzilla following the guide here, however, when I restart my Apache server (so I can login to the Bugzilla system), I get the following error... Jun 27 16:10:30 ...
1
vote
1answer
168 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> ...
1
vote
2answers
854 views

Why does media wiki install stop?

I am building a new MediaWiki installation on a CentOS 6.4 system. Server version: Apache/2.2.15 (Unix) Server built: May 13 2013 22:11:16 PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11) Copyright ...
3
votes
1answer
434 views

suexec with chrooted environment

I'm trying to get a chrooted Apache environment working running mod_fcgid with suexec. Looking at suexec log inside jail, the wrapper scripts are being executed with no problems, however, when I look ...
0
votes
2answers
79 views

How to get Apache to use upgraded PHP

I need to upgrade to a higher version of php. My current version is 5.1.6. So I am trying to upgrade php to version 5.3.26. php installed just fine in /usr/local. But at least according to ...
2
votes
2answers
476 views

scp to /home changes permissions?

This would be illustrated very nicely with an scheme. When I write "Test: OK" or "Test: FAIL" I am restarting apache server (httpd service). Basically, performing everything as root in the ...
1
vote
3answers
219 views

Make web project writable by apache and other user

I am running ubuntu 12.04 LTS . To be able to view my web project in the browser I did the following: chown -R www-data:www-data /var/www/project Now I wanted to open the project in netbeans but it ...
1
vote
1answer
670 views

Apache + mod_fcgid + chroot with mod_security. CentOS/RHEL 6

I am trying to setup a web server running Apache + mod_fcgid + mod_security chroot enabled and having a real hard time to get this working. Apache was installed from official CentOS repo and mod_fcgid ...
1
vote
1answer
218 views

installing apache httpd server on RHEL-6

I have 5 systems running Apache tomcat server, for load balancing i need to install Apache httpd server, how should I do this, please provide me some useful links and your opinions on this. I am ...
1
vote
1answer
2k views

Changing suEXEC Path / CentOS 6

I have recently installed httpd on a Centos 6 server. From what I see suEXEC was compiled with the values below; -D AP_DOC_ROOT="/var/www" -D AP_GID_MIN=100 -D AP_HTTPD_USER="apache" -D ...
1
vote
1answer
224 views

Permission error to access mounted directory in localhost

OK, I formatted my flash to ext4 file system, changed all the permissions to 777 and mounted it to /var/www/html/web. Now, when i access localhost/web it gives the following error: "You don't have ...
0
votes
1answer
1k views

opkg can't find apache

I'm trying to get a LAMP stack running on my BeagleBone Black, but I'm getting foiled early: opkg can't seem to find the apache2 package. According to the Angstrom page, it should exist: ...
1
vote
2answers
3k views

What is the best place to put php files above server root directory?

I am running a web application and I want to move a directory containing my php files above the server root directory. Where would be the best place to put them? On my web server I rent from ...
2
votes
2answers
519 views

Disadvantages to having www-data able to log in

I run a tiny web server basically just for hosting small data projects and files. This server has a public IP address. I would like to be able to FTP in and upload files directly to /var/www/*, and ...
0
votes
1answer
270 views

Apache subdomain can not be resolved

<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName domain.no-ip.org ServerAlias www.domain.no-ip.org DocumentRoot /var/www/main ErrorLog ...
1
vote
1answer
372 views

Binding a particular IP to a port in apache2

In How to set-up a online SVN server on my laptop I asked to give access to my SVN server installed on my laptop to some of my friends siting in another part of country.I set-up a SVN server.I was ...
2
votes
1answer
321 views

How to set-up a online SVN server on my laptop

I had created a local SVN server on my laptop running Ubuntu 12.04 and its working perfectly fine. Now I want to make my laptop as server for some valid users who can access my SVN server though ...
0
votes
0answers
102 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: ---------- | ...
1
vote
1answer
250 views

Executing commands with PHP: using normal user, but its home directory is /root

I'm using a custom compiled installation of Apache + PHP, listening on port 80. Apache is configured to run as a normal user, with the proper settings User and Group of the httpd.conf file. After ...