Use this tag for questions related to the Apache http server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Generic webserver related questions should use the tag: webserver. Few of the other Apache related projects have their own tag, don't use ...

learn more… | top users | synonyms

0
votes
0answers
122 views

Apache httpd starts but enters failed state on CentOS 7

I'm new to Linux and i have some problems with restarting httpd after creating Virutal hosts. The service is running but i am unable to restart it. [webmaster@erichermansson conf.d]$ sudo systemctl ...
1
vote
2answers
191 views

Can't get Perl FastCGI script to run on Apache Server: Error 500

I'm trying to run an Apache server that executes some scripts over fast CGI, but I can't figure out for the life of me how to actually get it to work. My problem in particular is the "Error 500: End ...
3
votes
1answer
99 views

Access a file in PHP through a symbolic link from a user that normally doesn't have permission

I have this website, where if the user submits a form, a python script is executed through a php page, and the python script creates a zip file and should offer it to the user for download through a ...
1
vote
0answers
50 views

Apache, can't link to Home directory, Alias does not work

I am trying to make a folder in which I can build websites (using php). I have switched from a Windows system where I was using Uniserver (http://www.uniformserver.com/) which is a setup with MySQL, ...
0
votes
1answer
267 views

“Forbidden: You dont have acces” - Still occuring

Heyho, I know, that this question was probably asked several times before and I read many of these solutions, but none of them helped me out. I still get: Forbidden You don't have ...
1
vote
1answer
27 views

Apache status connecting to wrong host

I'm trying to get the status of my Apache server with the ./apachectl status command. I get the following in stdout: Looking up 127.0.0.1:30240 Making HTTP connection to 127.0.0.1:30240 Alert!: ...
1
vote
1answer
2k views

Why is apache giving DNS lookup failures?

A CentOS 7 web server has tomcat serving up war files behind an apache httpd reverse proxy. This works perfectly when the WAR files are all server-side code. But when client side code (AngularJS in ...
0
votes
1answer
127 views

How do I directly expose apps running on a CentOS 7 web server?

How can I open a port and directly access a webapp running on tomcat on CentOS 7? Tomcat is running behind an apache httpd reverse proxy, but I want to directly access the apps running in tomcat by ...
1
vote
1answer
347 views

Apache and systemd

I've just started using Debian 8 which has introduced systemd. I'm not interested in the politics around SysV vs systemd, but I am confused, especially around Apache (2.4). There are now two ways to ...
1
vote
2answers
161 views

How can I reach an open & listening port on Linux?

After forwarding the port I wish to open, I cannot seem to connect or get any data to this port. The PHP CLI software I have written is listening to the port actively on Ubuntu 14.04. Part of the code ...
1
vote
3answers
65 views

The Apache2 configtest failed

Can anyone help me with this error. [Failed] starting web server: apache2 failed! Output of config test was: Chown: changing ownership of '/var/lock/apache2.Nxr1S1Hr6b': Operation not ...
0
votes
3answers
24 views

Verify SSL for local computers

I have a small business network and for this network, one computer is DHCP-, DNS- and web server. It uses local domains like machinary.ao or resources.ao I'd like to use ssl. Computers and network ...
0
votes
0answers
22 views

Apache PostreSQL database server only

I was wondering if it's possible to use apache to make a postgresql database available for connections from the web without using a website to interface with the database. Instead of having a webpage ...
0
votes
3answers
196 views

Change documentroot on Apache 2.4 [closed]

I knew how to do it on Apache 2.2, however, how do I change the document root on Apache 2.4? I run Debian 8.20 on a Virtualbox VM as my apache server and Ubuntu 15.04 as my host OS. I tried to change ...
1
vote
1answer
211 views

Tomcat Homepage (localhost) doesn't showup

Assuming, I've successfully installed Apache tomcat in RHEL 7 followed almost similar instructions in here, except that I've tomcat8 user, assigned permissions and generating a keytool as ...
1
vote
2answers
39 views

How does Apache resolves the requested virtual host?

I am running several virtual hosts on a VPS running Apache 2.4. I registered a domain at my VPS provider OVH: 55eastmonroe.software. I want the subdomain www.55eastmonroe.software to point to the ...
1
vote
1answer
32 views

Keeping services on EC2 alive

I'm using a MySQL database and Apache server with an AWS EC2 instance running AWS Linux. I start them both using the service command, but I am not familiar with any other tool that would come ...
0
votes
1answer
47 views

My websites are not visible from Apache on localhost

I have installed Ubuntu-based Mint Mate 17.2 distro. I have configured to my taste. Everything is working fine. I have also installed Apache, PHP and MySQL individually using sudo apt-get install. It ...
0
votes
1answer
57 views

According to socket statistics Apache listens only on IPv6, but actually serves IPv4 as well

ss -lnp in server shows following information: # ss -lnp Recv-Q Send-Q Local Address:Port ...
0
votes
0answers
249 views

Undefined symbol: ap_unixd_config

I accidentally tried to upgrade to Apache 2.4 from 2.2, I've mostly downgraded, but now I am getting the following error: Cannot load /usr/lib/apache2/modules/mod_wsgi.so into server: ...
0
votes
2answers
820 views

Sub-process /usr/bin/dpkg returned an error code (1)

I understand that this is a generic error message, but I'm having trouble deciphering what's going on - why doesn't Apache want to update? (Reading database ... 50302 files and directories currently ...
1
vote
0answers
18 views

RHEL / SELinux - Apache unable to write to a directory it can write to [duplicate]

I have a RHEL 7 machine running an Apache web server with multiple virtual hosts on it. I've recently run into an issue where I am unable to upload media, e.g. images / pictures / video, to my machine ...
2
votes
0answers
53 views

Apache 2.2 and php-fpm directory configuration

I have installed apache 2.2 and php-fpm. In httpd.conf: DocumentRoot "/var/www/local.site/public_html <Directory /> AllowOverride None Order Deny,Allow Deny from all ...
0
votes
1answer
152 views

Apache redirect to https if the request is not from localhost

I have a Centos 6.7 with apache 2.2.15. I want to redirect all traffic from port 80 to 443 with one exception. The traffic who come from localhost I want to remain on port 80. Now I use this config ...
1
vote
2answers
54 views

awk regex for apache rewriterule

I have these variant of urls RewriteRule ^/trendy/the-reason-for-example/? http://www.example.com/trendy/the-reason [NC, L, R=301] RewriteRule ^/lol/2015/10..._for-example ...
1
vote
0answers
50 views

WebDAV + davfs — error copying large files

I am using Apache on server, with WebDAV. On client linux, I have davfs2 mounted folder. When I try to access small file, everything works fine. When I try to access image file size of 2Gb, I am ...
0
votes
1answer
45 views

Apache loadbalancer not serving requests intelligently

My Apache LB is serving requests to a failed node as well. Am I missing something? worker.list=node1,node3,loadbalancer. worker.node1.port=8009. worker.node1.host=10.0.0.17. ...
0
votes
0answers
74 views

Symbolic link not allowed or link target not accessible: /home

I cannot access http://localhost/~user. The error message is: Symbolic link not allowed or link target not accessible: /home I do not have a /home. In my case it's: /RAID/home/*/public_html I ...
3
votes
2answers
420 views

configuring httpd for multiple domains on same server

A CentOS 7 web server is hosting one public domain, called mydomain.com. The same server also has a separate vpn that hosts two apps for private authorized/authenticated users only. Httpd is set up ...
0
votes
1answer
318 views

Check if Apache is Installed in Amazon Linux AMI

How can I check if Apache is installed in my Amazon Linux AMI, which is based on RHEL 6? In Ubuntu, I use: dpkg --get-selections | grep apache But that doesn't work in this case. Note, I need to be ...
1
vote
1answer
23 views

Interactive bash script

I'm writing a script that shuts down the Apache service, performs a function, and turns it back on. I'd like to get some type of interactive confirmation for each process. I'm not familiar with ...
1
vote
2answers
103 views

Why does Kali Linux expose httpd on port 3000?

I scanned my local network and found that Kali linux was exposing apache2 on port 3000. Its a pretty much vanilla installing running inside Virtualbox on an OSX host Is this there by default and why ...
0
votes
0answers
26 views

Apache Load balancer sending traffic to failed nodes

I have an Apache load balancer configured for 2 nodes. Upon stopping one of the nodes the request is still going to the stopped node. Can anyone please help. worker.list=node1,node3,loadbalancer ...
1
vote
2answers
42 views

Apache access.log getting updates after renamed

I have a file on my Ubuntu system called access.log that file get all my errors on my website. The problem is that file its to big right now so I renamed for access-old.log and create a new file ...
0
votes
0answers
65 views

LAMP on Knoppix

I am trying to use the setup at this link to set up a LAMP server on my Knoppix USB drive. I have seen in multiple places that Knoppix comes with Apache, MySQL, and PHP; however I am unable to find ...
3
votes
1answer
148 views

No packages Apache and mod_wsgi3 have been found in the repositories

I'm trying to instal Apache24 and mod_wsgi3 to my FreeBSD VPS (droplet) with this command: sudo pkg install bash ap24-mod_wsgi3 py27-virtualenv mysql56-server but apparently 'ap24-mod_wsgi3' has ...
1
vote
1answer
241 views

Many domains using a single IP address with BIND 9.7

I'm in the middle of migrating and configuring a web server with two domains (with one more in the future), and no sub-domains so far, but using a single IP address (for now). This type of ...
0
votes
0answers
50 views

Proxy pass on Apache redirects instead of proxying

I am trying to proxy an http service running on the same machine using apache proxy pass. When I try to connect to my subdomain.domain.com, I am redirected to 127.0.0.1, which is the address that I am ...
0
votes
2answers
43 views

Domain only for web server

I have a domain which i want to point to my server. But i don't want to allow other people to use this domain to reach the server, only specific ports on the server (web server, so port 80). So if ...
1
vote
1answer
2k views

Fedora 22 - Failed to restart httpd.service: Access denied

I want to start web development and I was trying to install LAMP. I installed Apache using this tutorial but the command they give to start the apache server fails: systemctl start httpd.service ...
0
votes
0answers
39 views

What is the matter with my apache?

Today my apache2 suddenly didn't run. cat /var/www/html/info.php <?php echo phpinfo(); ?> No output, no error info at all, no result when to input http://127.0.0.1/info.php in Firefox. cat ...
4
votes
1answer
297 views

Can't disable SSLv3 in Apache + mod_nss

I am trying to implement TLS through mod_nss in Apache (RHEL 7). As per the documentation, I have installed mod_nss and removed mod_ssl. I have followed the steps outlined in the documentation (see ...
0
votes
1answer
2k views

Apache won't restart after configuring Virtual Hosts

I am trying to make a web server, but after adding the virtual hosts config, apache won't restart. It had several errors but I've managed to fix most of them. Now I don't know what is happening ...
0
votes
1answer
105 views

Calling php function from /var/www/folder (as www-user), which is located in a file in /var (or any folder) (with root permissions?)

I wrote a script which "walks" through /var/www/xyz and scans folders and more. The folders are all 'user-bound', so the permissions for a single folder there are set to the specific user. Running ...
0
votes
1answer
88 views

URL rewriting and internal links on Apache

I have a 2.2 Apache with the weblogic plugin enabled, which it simply redirects all the requests to the application server. Basically, when I call the page http://myip/blabla/home.page, it is a page ...
0
votes
1answer
132 views

Sudo Apache, with command line ? (not visudo)

I have visudo-edited /etc/sudoers this way: User_Alias APACHE = www-data Cmnd_Alias FIREWALL = /sbin/iptables, /sbin/ifconfig, /sbin/route APACHE ALL = (ALL) NOPASSWD: FIREWALL (To allow php ...
0
votes
1answer
109 views

how to setup VPS domain registered via different service?

I have a domain that was registered with network solutions and my vps is hosted via hostWinds. I got a cheap/budget VPS because I'm a developer by trade and would rather know how to set all this ...
0
votes
1answer
59 views

ubuntu 14.04 apache 403 error befor logging in

i have an ubuntu Desktop version with LAMP SERVER installed on it when i restart the server and try to access it over the network i get Error 403 forbidden but after i login to that system from ssh or ...
0
votes
0answers
10 views

Virtual Hosts: Sites-available/myfilename.conf structure

I had the url http://mydomain1 running locally on apache. Now I want to make http://mydomain2 accessible as well. I added the respective Tags in the myfilename.conf <VirtualHost *:80> ...
1
vote
0answers
139 views

Trying to figure out how to install Apache for linux

Forgive me for being an amateur at all of this. I spent more than a couple hours trying to figure this out, and as a beginner it's getting frustrating. I'm following these set of instructions from ...