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). Non-apache web server-related questions should use the tag: webserver.
0
votes
1answer
19 views
Why PHP doesn't run in Apache?
I want to start saying I'm a beginner in Linux & Networking, so I may not get something and if so, I'll ask some question (like comment).
Anyway, Let's writing my question.
I'm using Elementary ...
1
vote
1answer
13 views
Apache2 Failed to start after installing php5 alonside php7 on Ubuntu 16.04
I am running Apache2 with php7 on Ubuntu 16.04. But alongside this, I had installed php5.
After installation of php5 I executed sudo a2enmod php5.6
Then I restarted apache2 with sudo service apache2 ...
1
vote
0answers
11 views
Apache analytics with virtual hosts
I've found various open-source tools (such as goaccess.io) that can turn an access.log or other_vhosts_access.log into a unique visitors analytics:
739 visits 16/Oct/2016
804 visits 15/Oct/2016
...
0
votes
1answer
14 views
Other site served on a multisite Apache server when 2nd SSL certificate introduced
I have an Apache service running on an Ubuntu server with two completely different websites i.e. different domains.
They each have a separate VirtualHost configuration and, until recently, only one ...
-1
votes
1answer
19 views
not working httpd lampp in linux Arch [on hold]
In linux Arch got installed LAMP,but httpd Apache does not work, what is the problem?
Screenshot:
0
votes
0answers
7 views
Wamp-like Server Configuration page for LAMP on Centos
Is there a page similar to the one below showing the WampServer configuration for a LAMP stack (on Centos 7)? Basically, a nice graphical way to show all the enabled extensions (not phpinfo, I can get ...
1
vote
1answer
43 views
CVE-2014-8109 and CentOS
I am going through a long list of 100s of security issues that a provider of PCI compliance security scan services reported on a client server. I have found, isolated, documented, and filed disputes ...
0
votes
2answers
27 views
How to disable Apache and MySQL autostart when PC is turned on?
I'm using Linux Mint 18 XFCE and installed Apache, MySQL and PHP packages to make local development.
Apache and MySQL services are always active and start from the beginning.
How can I disable those ...
0
votes
2answers
70 views
Ubuntu 16.04/Apache 2.4.18: 403 Forbidden
Trying to set up a Minecraft Technic Solder repository on my home server.
Here is my 000-default.conf in /etc/apache2/sites-available/:
<VirtualHost *:80>
# Host that will server this project....
3
votes
1answer
41 views
CGI with Shell Script
I'm having trouble running a CGI example with Shell Script, I'm not able to access the directory created in the example I'm following "/tmp/shell". By accessing the address "http://localhost/shell" ...
0
votes
0answers
47 views
Apache fails to start, no obvious errors
I'm on a clean install of Centos 7, and after setting up a VirtualHost for Apache, it fails to start. There are no obvious errors in journalctl -xe but here is the output regardless.
-- Unit httpd....
0
votes
2answers
42 views
Path Setting on linux server
I have php project that is running perfectly on window .
now I am deploying project on Centos Linux Server .
define('INCLUDES_PATH', ROOT_PATH.'cms-includes/');
ini_set('include_path',INCLUDES_PATH....
0
votes
1answer
64 views
Apache2 restart/start error
I am trying to restart Apache2, but whenever I run the command, this happens:
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" ...
0
votes
1answer
91 views
How would I run a php script?
I am not sure if this is Unix related, but I can't really see what it would be, if it wasn't Unix related.
I'm running a Ubuntu Server, and I'm trying to execute a .php script on my website when ...
0
votes
1answer
17 views
How do I connect to my Apache server located on my guest VM?
I run windows 10 on my host machine and through VMWare recently installed a CentOS version of Linux and installed an Apache server. On the host I'm able to access the server via 'localhost' or ...
0
votes
0answers
23 views
Munin : Web interface showing directory listing only
I'm installing Munin v2.0.25 on the CentOS 7. I exactly followed this installation guide.
But then when i browse http://xxx.xxx.xxx.xxx/munin (after entering the http authentication):
Below are some ...
0
votes
0answers
23 views
Centos 7 - Crawler getting blocked
I'm trying to run a scan with vega on my own site, but there's a crawler blocking software which i'm not aware of... The problem is that software is too strict, if people send requests to the server ...
0
votes
0answers
25 views
You don't have permission to access /cgi-new/printenv on this server
I am running Apache2.2.15. I created a separate directory called cgi-new under same directory as cgi-bin. I also edited my httpd.conf file and created an alias for cgi-new and also created a new ...
0
votes
2answers
43 views
Upgrade Apache from v2.4.6 to as newer version as possible - CentoOS 7
I searched all over but could not find an easy way to upgrade Apache without recompiling. I installed httpd24 from this instructions but could not figure out how to replace httpd with httpd24.
Is ...
0
votes
0answers
19 views
LDAP Group Restriction not working - Require ldap-group - Apache 2.4
I found what seems to be the line of code I need, but it's just not working and I can't figure out why. Everything is working mostly, I can log in via local HTPASSWD or LDAP, but my ldap group "fail" ...
0
votes
1answer
18 views
Change default Document Root path in cent os 7
I have cento os 7 and installing php website and by default i have to upload code to /var/www/html but i want my code to pick from /home/magento.
How to rewrite Document Root path in cento os .
0
votes
1answer
26 views
If I put a path after `.php`, the script is not found
On my Debian "testing" system after installing Moodle the request to
http://localhost/moodle/theme/image.php/clean/core/1473903261/req
returns
Not Found
The requested URL /moodle/theme/image.php/...
0
votes
1answer
22 views
can i configure an apache VirtualHost Proxy BalancerMember as failover-only (e.g. hot/warm)?
i currently have a VirtualHost configured to load balance between 2 servers. however, to avoid race conditions that occur when both instances are active, i would like to switch to a hot/warm ...
1
vote
0answers
31 views
SSL Handshake Error with several Apache Servers
I'm running into a strange behaviour with my server setup. I have several apache and application servers behind one another and run into SSL Handshake issues. My Server Setup is
Request from Internet ...
0
votes
1answer
65 views
Apache won't start and there are no errors
Apache will not start. There are no errors in the journal. Where do I find further info?
$ systemctl status httpd.service -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/...
0
votes
1answer
27 views
Accessing Apache over LAN
I am running a headless install of Centos, which I would like to use as a web server. I have installed Apache, and successfully tested http://localhost using the Links browser via SSH.
I would like ...
2
votes
1answer
23 views
why httpd reports less active modules than apachectl?
I am trying to enable mod-nss module in Apache2. So after doing what is necessary, I am trying to validate that indeed the module is loaded.
Asking apachectl
# apachectl -M | grep nss
nss_module (...
2
votes
1answer
73 views
Apache not running on Debian 8
I'm trying to install a LAMPP Server on my freshly installed Debian distro, and I'm having issues running seeing the Apache site when I type localhost on my web browser. I've been doing research for ...
0
votes
0answers
28 views
Apache 2.4 name based virtualhosts goes to the wrong site
I am hosting multiple sites on the same server with the same ip. I followed the documentation of apache 2.4 (I have apache 2.4.7) hosted on ubuntu 14.04.4
Two of the sites work just fine, the other ...
0
votes
2answers
74 views
riptHow do I turn on terminal output in Centos 6.8?
When I run the command
service httpd restart
the service restarts but there is no feedback to tell me that the server restarted successfully. Previous servers output a response like
shutting down ...
1
vote
2answers
78 views
How to debuild (Debian) Apache without it performing a clean
I am trying to edit an Apache module on Debian (strictly, I'm doing this on Raspbian Jessie-Lite), and am broadly following the Debian build instructions:
$ mkdir -p ~/src/debian; cd ~/src/debian
$ ...
2
votes
0answers
19 views
Apache: how to access files using the requesting user's credentials?
I have a domain-joined (via samba/sssd) CentOS 7 server, acting as a SFTP server, which has a mountpoint mapped to a Windows' share:
SFTP Client -> Linux SFTP Server -> Windows File Server
My goal ...
2
votes
1answer
143 views
Ubuntu server 16.04 - Get full FTP access to /var/www/
I've created a user 'www' and added it to the 'www-data' group. I've set the home directory of 'www' to /var/www/ also. I would like to use 'www' to transfer files in and out of my web server by FTP
...
0
votes
1answer
58 views
Hacking attempt, process running under 'apache' user
Our system blocked an hacking attempt coming from a local process running under the apache system user.
Process not allowed.
{
"USER": "apache 16",
"PID": "617",
"%CPU": "0.0",
"%MEM": "0.0 80",
"...
2
votes
2answers
61 views
How can I redirect “everything” to https://www.example.com?
How can I redirect "everything" to https://www.example.com?
Attention: without using rewrites, without using htaccess; only using redirects, because is the correct way, as stated in the Apache manual ...
0
votes
1answer
75 views
Webdav won't connect: 405 Method Not Allowed
I have a small server running Ubuntu 16.04. It is successfully serving webpages over https.
I want to set up webdav over https on Apache as well. I had trouble finding a tutorial that explicitly ...
1
vote
1answer
86 views
No PHP modules after compiling Apache
I'm trying to install Apache 2.4 and PHP 5.6 on CentOS which I've done correctly and confirmed using ./apachectl configtest and php -v. The problem is that Apache is not recognizing PHP scripts ...
1
vote
1answer
23 views
Is it possible to download from link file from a web directory?
Suppose there is an instance of apache whose web directory is:
/var/www/html
Is it possible to create a link from a file in a distinct directory so that a web user can download that file using the ...
0
votes
1answer
34 views
how to force redirect from http to https with htaccess?
I need to force, with htaccess, redirect from http to https of a website.
Required when use shared hosting like dreamhost.
2
votes
1answer
155 views
Starting Apache as service quits with SIGWINCH
When running service apache start I see in the log file this entry:
[mpm_event:notice] [pid 1906:tid XXX] AH00489: Apache/2.4.23 (Unix)
OpenSSL/1.0.2g PHP/7.0.9 configured -- ...
0
votes
1answer
131 views
How to set up apache2.conf on Ubuntu 16.04 so that the error message must not be cached under the page's URL?
Recently, I set up /etc/apache2/apache2.conf on Ubuntu Linux 16.04 so that an web browser user can run 127.0.0.1/login.aspx with any browser as long as we run one mod_mono_server4 server and 1 or ...
0
votes
2answers
62 views
How to access home directories via server IP address
I am trying to set my server up to access accounts such as:
192.169.200.88/~dirname
where dirname is the account's home directory.
I set the accounts up via WHM, and I can access the Cpanel. But ...
0
votes
1answer
34 views
Is it possible to run 127.0.0.1/login.aspx at the web browser, if we run only one mod_mono_server4 and apache2 server instance on Ubuntu 16.04?
Recently, I set up /etc/apache2/apache2.conf on Ubuntu Linux 16.04 so that an webuser can run 127.0.0.1/course/login.aspx with any browser as long as we run 1 or more mod_mono_server4 server and 1 or ...
0
votes
1answer
123 views
Certbot add www domain to existing domain certificate
I have installed an SSL certificate from Let's Encrypt with Certbot on my Apache server with Debian 8 following this tutorial from Let's Encrypt's own documentation: https://certbot.eff.org/#...
0
votes
2answers
78 views
Where is ssl_module being loaded and why can't I bind to port 443?
When I try to start httpd I get the following error:
# service httpd start || journalctl -xn
..
[so:warn] [pid 425] AH01574: module ssl_module is already loaded, skipping
httpd[425]: (98)Address ...
0
votes
0answers
41 views
.htaccess for redirecting an URL with hashtag
I have urls which I need to redirect to another URL. The issue is that the source URLs contain # character.
source url: http://www.wawa.com/fr/#/creations/eclairs
redirect to : http://www.wawa.fr/fr/...
0
votes
1answer
38 views
How to restrict access to LAMP for certain IP ranges
I want to restrict all access to Apache and Postfix to a certain geographical region; how can I do this?
If I want to do this, is it best to use iptables or should I do it per application? What are ...
2
votes
0answers
66 views
Apache group authorization with mod_lookup_identity
I need to have some users authenticated against an Active Directory database, and I'd like to use mod_authnz_pam over mod_authnz_ldap for that. The users will have access to certains folders, ...
0
votes
0answers
62 views
Cannot install nextcloud despite correct permissiona
I have just spun up a CentOS 7 VM to host an instance of nextcloud however next-cloud constantly complains that the web-server cannot write into the config directory. My permissions are as follows, ...
0
votes
1answer
74 views
Apache2 connections issues
Having issues with some website I want to host. One is an owncloud server that is hosted on my physical machine (port 443) and I have another on a virtualbox guest (port 80).
I have successfully ...