The apache web server.

learn more… | top users | synonyms

0
votes
1answer
79 views

Can I Share Localhost With Other Users Of My Linux Box?

Firstly, I admit I am a Linux / Apache nOOb, so I would really appreciate it if your answers are in plain English (smile) Is the apache localhost server available to all Linux accounts? If I use my ...
1
vote
1answer
107 views

Piped Logs in Apache?

Can someone walk me though how the data flows? Need to understand how I can intercept the log data, make changes to that data in situ, then save to a file.
1
vote
0answers
591 views

How to configure mod_rewrite with an Alias in Apache 2.4?

How do I use apache mod_rewrite with an Alias ? I have a test directory that contains the files: correct.html index.html test_httpd.conf wrong.html I would like an example rule using an alias that ...
2
votes
2answers
108 views

Sanitize Apache access log files?

We have this code in a shell script that pipes output for Apache to log. declare -a values=( $taintRequestVals ) for item in ${!values[@]} do cat $apacheLog | sed ...
3
votes
1answer
144 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
0
votes
1answer
730 views

xampp fail to start, apache running, but apache is not installed!

I am having a strange problem. When I try to start xampp it fails with message: XAMPP: Another web server daemon is already running. When I tried to find out which server is running using ...
2
votes
1answer
96 views

How may I distinguish encryption algorithm of htpasswd?

I have an apache web server running on Debian Linux and I secure a certain directory with htaccess. I have no history or knowledge how the .htpasswd file was created. Apache documentations says that ...
1
vote
0answers
18 views

Interesting numbers when apache benchmarking

[root@NOTEBOOK ~] time for i in 128 321; do sleep 302; ab -n $i -c $i https://EXAMPLE.COM/ 2>/dev/null | egrep '^Complete requests:|^Failed requests:|^Requests per second:|^Time taken for tests:'; ...
0
votes
3answers
221 views

Apache setting ports both in “NameVirtualHost” and “Listen”

In apache ports.conf I have NameVirtualHost *:80 Listen 80 I can't understand that since in NameVirtualHost *:80 the port is already set, why there is a separate Listen 80. What does it mean? ...
0
votes
1answer
143 views

Apache2 virtual hosts not working

I use Debian 7 and have installed a virtual host with address sub.domain.com following this tutorial: http://www.debian-administration.org/articles/412 I have enabled it, rebooted the PC but still ...
-1
votes
1answer
288 views

Apache2 virtual host not working

I use Debian 7 and have installed a virtual host with address sub.domain.com following this tutorial: http://www.debian-administration.org/articles/412 I have enabled it, rebooted the PC but still ...
1
vote
2answers
94 views

SSH key for HTTP

Is it possible to set something up like SSH Keys for http traffic, so that a browser must have the matching key in order to access?
0
votes
1answer
1k views

Installing php phalcon extension

I am unable to install phalcon php extension by folowing these steps. I use 64-bit Linux Mint 14 Nadia. http://docs.phalconphp.com/en/latest/reference/install.html#linux-solaris-mac For the ...
1
vote
0answers
47 views

How to customize apache mod_sec log output?

I have an apache server which uses mod_security configuration. Those logs are further analyzed and sent out to OSSEC server for intrusion detection and monitoring. That OSSEC server then sends those ...
0
votes
0answers
24 views

Restart individual applications in apache+passenger server

I have multiple ruby on rails applications on the server(Apache + passenger ) using RailsbaseURI. When new applications are deployed, apache is configured to reload which reads the new configuration ...
1
vote
1answer
62 views

Module dependencies [closed]

In a system, I need to use module load gcc/4.4.7 to get access to gcc to compile foobar.c into foobar. When I run foobar, does gcc/4.4.7 need to be loaded, say to ensure certain libraries are ...
3
votes
1answer
704 views

Apache 70007 and 70014 errors

I have a service where mobile phones send a big hash of data to our server which are sitting on AWS behind the ELB. Once in a while we receive 70007 and 70014 errors in the apache error logs, the ...
0
votes
0answers
103 views

Multiple destination ports in Apache's ProxyPass directive?

I have a virtual host that listens on port 443, 2000 and 2001. Its only purpose is to proxy all incoming traffic to a remote server. Is there a way to re-use the port number of the virtual host in the ...
0
votes
1answer
378 views

Allow www-data to perform specific commands

I need a PHP script to perform git pull however I am not naive enough to give it permissions on git. I've wrapped git pull in a script which www-data has permissions for, but I'm not sure how to give ...
4
votes
2answers
516 views

Access VirtualBox Debian Apache Guest on Windows Host

I am running Oracle VirtualBox with Debian as guest OS on a Windows 7 host. I have installed Apache and specified the following two network adapters in VM: Bridge Host-only w/ the same IP set as ...
0
votes
1answer
146 views

control apache referrer to restrict downloads in htaccess file

i want to restrict a file server just for people come from an specific URL: http://graymind.ir how should i config .htaccess file to do this. sorry but i didn't find an answer in sites search.
0
votes
2answers
159 views

Find PHP process that logs to file

I have started a PHP script via browser and due to a loop error the script continues to be executed even after closing the browser. I am noticing it since the script is logging error messages to my ...
1
vote
1answer
412 views

Redhat Linux + HTTPD: 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
64 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
81 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
78 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
183 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
355 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
66 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
171 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
187 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 ...
1
vote
0answers
135 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
185 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
1k 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
110 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
100 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
840 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
245 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
6k 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
2k 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
485 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
499 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
419 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
99 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
102 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
2k 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
79 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
413 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
279 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 ...