Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apache-http-server]

Apache is the widely known term for the Apache HTTP server, a very commonly used web server software maintained by the Apache Software Foundation. If your question is about other Apache software such as Tomcat or log4j, http://stackoverflow.com/ is a better choice.

0
votes
0answers
13 views

Nginx Apache Reverse Proxy Redirects to the Wrong Directory

I followed this guide to set up Nginx with reverse proxy for Apache. I'm having trouble getting my domain name to redirect to correct page. I have several subdomains as well, and some of them redirect ...
0
votes
1answer
15 views

How can I disable Win10 ISS so I can Install XAMPP?

I'm an EE and not very familiar with the workings of websites and in particular with the Windows IIS server. Up until Windows 10 arrived I've never had any trouble installing development tools using ...
0
votes
2answers
131 views

I found an attempted attack - what do I do?

I was looking at some Apache logs and came across what appears to be an attack core:error] [pid 20356] (36)File name too long: [client xxx.xxx.xxx.xxx:56856] AH00036: access to /${(#dm=@ognl....
0
votes
1answer
14 views

Consolidate the php version server or command line

In Commandline $which php /usr/local/bin/php $php -v PHP 7.2.10 (cli) (built: Sep 14 2018 07:07:08) ( NTS ) On Apache check phpinfo(); apache2handler Apache Version Apache/2.4.33 (Unix) PHP/7....
0
votes
1answer
20 views

Why does nextcloud not work after dist upgrade to Ubuntu 18.04?

I recently did a dist upgrade on my nextcloud machine form Ubuntu 16.04 to Ubuntu 18.04. After that I got an "Internal Server Error" when trying to access nextcloud. I didn't find anything in the ...
0
votes
0answers
11 views

OS level role/command based privileged escalation for use with automation via a front-end/back-end process with additional authentication

I want to develop a LAMP web app/solution and after a fair amount of searching I am starting to think it is not possible to do what I want. Not sure how to explain this succinctly so I apologize for ...
0
votes
0answers
10 views

I upgraded a Ubuntu 16.04 to 18.04, weeks later Apache2 stopped working after an update

I am wondering what might have gone wrong and how to fix it. I upgraded Ubuntu from 16 to 18 on September 20th, 2018. I ended up having to re-install PHP at the time to allow proper function, but ...
0
votes
0answers
19 views

Why are some files in public directory showing forbidden?

An ftp user uploaded some image files and I mv them from his uploads Directory to virtualhost directory with other files that display online but these files do not display online Apache shows 403 ...
0
votes
0answers
14 views

Problems getting virtualhost to work using Varnish as standlone front-end and a remote Apache backend server

I have 2 servers: Frontend consists of: Varnish Apache2 IP xxx.xxx.xxx.98 Default backend definition. Set this to point to your content server. backend default { .host = "xxx.xxx.xxx.21"; ...
0
votes
0answers
23 views

Configuring Apache and Varnish with SSL (Letsencrypt) in virtualhosts on a Ubuntu 18 server

Jeg have a Ubuntu 18 server which hosts several virtualhosts using Letsencrypt for the SSL certificates. I have installed Varnish but am in doubt what I need to do in order to use SSL. In /etc/...
1
vote
1answer
28 views

Is there a way to get outbound email working from with Apache and PHP on a Drobo 5N without compiling source code?

I wanted to send emails from my web page running in Apache and PHP on my Drobo 5N. Found a lot of answers about cross-compiling MSTMP or SSTMP. For example the answers I found that specifically dealt ...
0
votes
1answer
21 views

Is editing “hosts” file in Windows necessary to host Apache Virtual Hosts?

I'm learning how to host websites on a small server at home. I followed some tutorials where they said you had to edit the "hosts" file (C:\Windows\System32\drivers\etc\hosts) and add the following: ...
1
vote
0answers
26 views

setting up the ~sites folder on apache (Mac 12.10

I am a complete newbie with Apache, PHP and MySql. I am attempting to set up PHPmyAdmin but I am having problems. I am following this guide. I have been googling forums for hours trying to get a ...
0
votes
0answers
6 views

Why isn't PHP-FPM working?

I have a Linux Mint 19 setup that's running Apache2 and two version of PHP-FPM: 7.1 7.2 I got my 7.1 site up and running but now I'm trying to get my other site to run on php7.2 but it's not working ...
0
votes
1answer
29 views

Installing mod_php for Apache after installing Remi repo version of PHP 5.6

I followed this guide on how to install PHP 5.6 from the Remi repository on my Amazon Linux 2 instance. Now I need to connect that installation, which was placed in /opt/remi/php56/, to already ...
-1
votes
0answers
19 views

XAMPP redirects localhost to localhost/bg

I started leaning PHP a few weeks ago, so I downloaded XAMPP and I remember that I tried to make some changes in httpd.conf (and maybe some other config files, really don't remember..), not sure why, ...
0
votes
0answers
12 views

PHP MySQL large data set with lots of time to display in angular component and small csv file exported from database [migrated]

EDIT I selected only one field from all the query, the file size reduced to 433Kb but the display time was 13 seconds. END OF EDIT I have the following query: SELECT *, DATE(h.hh_date_added) as ...
0
votes
0answers
19 views

Getting data from a virtual host on local network is taking more than 10 seconds

I have a PHP-MySQL based single page application (using Angular 6), working on a local network. We set up the etc/hosts as following: #127.0.0.1 localhost #::1 localhost 192.168.0.217 dev.local ::...
0
votes
0answers
35 views

how to fix err connection time out

Hello i'm host site on the windows vps server using xampp apache server,batabase server is mysql.so all xampp apache ports are 80,443 mysql port is 3306.i create a virtual host and up the site.And ...
0
votes
1answer
52 views

Can't write to /var/www/html

(I'll link to other answers that I read next) I've installed LAMP stack, and I'm trying to put files in /var/www/html nati@nati-pc:/var/www/html$ touch example touch: cannot touch 'example': ...
0
votes
1answer
30 views

Curl dosen't work localhost subdomain

I am using localhost subdomain. subdomain is set by apache like this. It works well for web browser. <VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "/...
0
votes
0answers
29 views

How to update old Apache2.2 config files to work with Apache2.4?

I have an old Python game server running on Ubuntu 14.04 in conjunction with a JavaScript game client. The client originally worked with Apache2.2 on Ubuntu 12.04 but after upgrading to Ubuntu 14.04 ...
0
votes
1answer
39 views

Apache not executing PHP on CentOS 7 in browser

I've installed the following: [root@localhost conf.d]# yum list installed | grep 'http' httpd.x86_64 2.4.6-80.el7.centos.1 @updates httpd-tools.x86_64 2.4.6-...
0
votes
0answers
18 views

Solr, how does the indexing work?

Ok, so I'm trying to upload some data onto my Solr server via WebUI and update. Let's say that I'm uploading 5k lines of CSV data, which would be 5MB in a txt file. With 6 fields it takes about an ...
0
votes
0answers
12 views

Apache 404 from nested directory

Apache returns 404 from directory /dir1/dir2/file even if correctly serves from /dir1/file and the two directories permissions and ownership are the same. In real terms, I'm trying to debug why ...
-1
votes
0answers
30 views

Step by step deployment Django (Mac OS X)

I've been looking all over the place to find an "easy" or "straightforward" solution to deploy a Django app and still can't find a quick or easy way to do this. But first I feel that I should say a ...
0
votes
1answer
26 views

Apache use SFTP instead of HTTP to serve files

Is it possible to serve files using SFTP instead of HTTP for Apache? I'm trying to host files on Apache and the files are 100MB+.
0
votes
2answers
20 views

Watch local WAMP server requests to the internet

Currently I am working on a Wordpress website on my local host (wampserver) and I suspect that the website has a malicious plugin that may be sending data to or interacting with another website. How ...
1
vote
0answers
22 views

How to prevent people from rewriting my .htaccess file

I am using .htaccess file to set some rules about my upload directory, where people are able to upload files. My php code however allows to simply upload .htaccess file through my upload page and it ...
0
votes
0answers
25 views

PhpStorm with xdebug: I get error 500 if I do not step thrugh code

If I have "listen to xdebug requests" active I get error 500 unless I enable the "break at first line" setting. I put a breakpoint to some code, but do not want to step every time -_- How do I ...
0
votes
1answer
41 views

How to Create your own Domain Name after forwarded my server through my router?

I have set up my own web server with Ubuntu server 16.04, I am actually using another laptop for testing the web server. To have access locally, I have: Router 192.168.1.1 Server ...
0
votes
2answers
47 views

xamp not able to install on windows 8

I am having errors while Installing Xamp 32 bit packages on 64 bit windows 8.1 (I could not get 64 bit downloads for windows 8 from Xampp page https://sourceforge.net/projects/xampp/files/XAMPP%...
1
vote
2answers
67 views

How should I deploy my web form in a production environment? [closed]

First of all, I‘m not sure if this is the right place for this question, but since it was marked as off-topic on server fault I thought I should try it here. I'm going to start with the current ...
1
vote
1answer
25 views

How I can add Rewrite rule in htaccess only for home page?

I have a problem with apache. My site has these rules now: RewriteCond %{HTTP_ACCEPT} text/html [NC] RewriteCond %{HTTP_HOST} ^mysqite\.com [NC] RewriteRule .* path/to/html/my.html [L] I need ...
0
votes
0answers
26 views

WebDAV file upload error

I'd like to enable files upload using PUT method to my Apache server running on Win 7. I've configured WebDAV as follows: httpd.conf: DavLockDB "D:/Web/DavLock" ... <Directory "/Web/DavDir"> ...
1
vote
1answer
51 views

I can access my apache website via localhost, but other users are being denied access

I recently set up a website with Apache HTTP web server. My problem is that when I visit http://localhost or http://192.168.1.205 (the local IP address assigned statically to my computer) the website ...
0
votes
0answers
58 views

No such file or directory: mod_wsgi

My Apache seems to be running okay, except for two things. 1) Message in error.log: [wsgi:warn] [pid 1234:tid 12345678] (2)No such file or directory: mod_wsgi (pid=1234): Unable to stat Python ...
1
vote
1answer
34 views

Cannot restart Apache?

I just installed Apache from homebrew (brew install httpd). When i try to restart it with the command : sudo apachectl --restart I get this message : AH00558: httpd: Could not reliably determine ...
1
vote
2answers
34 views

Simulating “subdomains” without an actual domain (on a private network)

I'm setting up a server (Ubuntu Server 18.04) running Apache2 for my own personal testing and development needs. I can only access it via its local IP (ex. http://10.0.0.125) or its name on the local ...
3
votes
1answer
1k views

Apache can't load PHP unsigned extensions on Mac OS Mojave

After upgrade to MacOS Mojave, Apache can't load PHP extensions anymore. Any extension i get the error below on the Apache log ; it seems that Apple implemented Library Validation through Apache on ...
0
votes
0answers
43 views

Configure Apache with Passenger to serve FLASK with Lets Encrypt Certificate (certbot)

I was not able to find proper up to date instructions on this topic. I had Flask running with passenger on Apache for a while and wanted to switch to https now, with no success... I tried to follow ...
0
votes
1answer
12 views

Preserve HTTP_HOST for matching URLs only

Apache mod_proxy allows to discard the original value of the HTTP_HOST header, I need to preserve that for a group of URLs, how can I do that?
1
vote
0answers
21 views

How do i fix the 403 forbidden error in lamp? [closed]

I'm aware that this is a much asked question but i've tried everything! In fact, i've been stuck with this for two days now. I installed mariadb, php, php-apache and apache. Everything was working ...
0
votes
1answer
41 views

start Apache from startup folder without user interaction

I have a simple .bat script that I placed in startup folder (shell:startup). I use autologon to logon to windows user account automatically. The scripts starts apache, curls that the computer is ...
0
votes
0answers
17 views

VMware Host-only connection to web server from host

I've set up apache and the relevant firewall services on CentOS 7. If I set the network to bridged then I can access the web server from the host computer using 192.168.0.87. However when I change ...
1
vote
0answers
52 views

Curl PUT “Method not allowed”

I'd like to simply store a file using curl with PUT metchod to my home apache web-serwer running on Windows 7. When i issue a simple command like: curl --upload-file /path/to/file/badname --url http:...
0
votes
0answers
11 views

Apache VirtualHost Basic Auth IP whitelist not working from Include file

I'm running a website on an old version of plesk. Its running Apache 2.2 e.g. > httpd -V Server version: Apache/2.2.15 (Unix)... I have Basic Auth set up in the VirtualHost setting for my site e....
0
votes
1answer
27 views

Which vhost was pointed by ip addres when bind two or more vhost to one ip?

The configuration bind two domain name www1.example.com www2.example.org to the one ip address 172.20.30.40. <VirtualHost 172.20.30.40:80> ServerAdmin webmaster@www1.example.com ...
0
votes
0answers
39 views

Why is a PHP include file not found on Linux Apache through a symlink?

In /home/richard/public_html/tinytest.php: <?php // Note: reuse is a symlink to /home/r/reuse require("reuse/Test.php"); ?> The symlink /home/richard/public_html/reuse was made like this: <...
0
votes
0answers
35 views

Apache server does not start with XAMPP on a virtual machine with VirtualBox and Windows 10

I have a virtual machine with Windows 10 using VirtualBox. I installed all the C++ libraries and XAMPP. But, when I try to start the Apache server from XAMPP, I get the following error: "Apache ...