Questions tagged [webserver]

A Web server is a program that uses HTTP (Hypertext Transfer Protocol) to serve the files that form Web pages to users, in response to their requests, which are forwarded by their computers' HTTP clients.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

How to run/manage websites on macOS versions *after* High Sierra?

High Sierra (10.13) is deprecated now that Big Sur (macOS 10.16/11) is out. High Sierra was the last version of macOS which supported websites (technically Apache, I believe) being managed through the ...
1
vote
2answers
28 views

Upgrading High Sierra to Catalina on 2016 MBP using local webserver

In the past colleagues (and I) believed it was often a bad idea to install newer OSs on older Macs. I get the feeling that has changed, and that putting Catalina on my 2016 MacBook Pro shouldn't be a ...
0
votes
1answer
30 views

Change Apache2's Port Number

I recently enabled apache on my mac for local development. I would now like to use nginx as a reverse proxy, which I have done before, but I want to move apache to port 8080 so I can put nginx on port ...
0
votes
0answers
11 views

server-staus in Apache on Catalina: Can't get past “client denied ” error

I'm trying to configure /server-status on my Apache vhosts setup. I have https running, and the vhosts. The Mac is running its own httpd, but with my configurations. Everything works as it should, ...
0
votes
0answers
41 views

RTSP feed with ffmpeg and the Mac camera

I have two Macs in my network. On the first one I want to capture the FaceTime camera via ffmpeg and make a RTSP feed available on the network, which I can watch on the second Mac.
0
votes
0answers
17 views

Cannot access a web server of macos from my android smartphone on same network

On macos, I did the following. $ mkdir foo $ cd foo $ vi index.html $ cat <<EOF > index.html > <!DOCTYPE html> > <html> > <head> > <meta charset="...
1
vote
1answer
64 views

Broadcast http on mDNS Bonjour in Catalina?

As of Catalina I've quit Apache and switched to Tornado. Apache was easy to configure http Zeroconf broadcast port 80 on the LAN. What I am looking for is an Avahi type solution where I can configure ...
0
votes
0answers
25 views

MacOS connecting to a non-internet server on local network

I have 2 Mac (Mac Book and Mac Book Air), one running Catalina 10.15.5 (19F101) and the other one Mojave 10.14 I have a server NOT connected to the Internet, with Tomcat setup and it's all hooked to a ...
0
votes
0answers
17 views

What tools can i use to test the speed of communication between a server -> webserver -> client

in our company, we have to evaluate and compare the Mac Pro (2019) and the Mac mini (2018) in their usage as a client management server. We already know that the Mac Pro will be the better ...
1
vote
1answer
395 views

Installed Apache 2.4 (httpd) using Home Brew, can I get it to use macOS' php7?

I'm running macOS 10.15 (Catalina) and have installed the latest Apache (2.4.43) using brew, basically following these steps. Seems to be working fine, but now I want to enable PHP 7 in Apache as ...
1
vote
0answers
210 views

Installed Apache (httpd) using Home Brew, but cannot seem to get mod_rewrite working?

I'm running macOS 10.15 (Catalina) and have installed the latest Apache (2.4.43) using brew, basically following these steps. It seems to be working OK, I can visit http://localhost/ and when I ...
0
votes
0answers
40 views

Is my Apache server creating multiple localhosts?

I'm trying to set up Apache server for MacOS Mojave 10.14 and I'm running into some bizarre issues. Whenever I type localhost into Chrome I get a 403 Forbidden error. When I type in localhost:8080 ...
0
votes
1answer
31 views

Can’t connect my iPad to cPanel WebDisk (iOS)

I am trying to connect my iPad to my webdisk, but I can’t. I have: my address: example.com my username: exemple@exemple.com my password: example I figured out to connect my Windows 10 laptop, but I ...
0
votes
0answers
118 views

How to access local webpage from another host in the same network?

I'm trying to access RSS feeds hosted on my Mac from another computer in the same network. The IP-address of the Mac is 192.168.228.84, the port the server uses is 8080. I can access the page ...
2
votes
1answer
166 views

How to monitor multiple macOS system usage?

For GNU/Linux systems that runs as a server, we can get a dashboard with system information like cpu, memory, network usage etc. What software is used to collect this information? For macOS, is there ...
0
votes
1answer
415 views

configtest error AH00526: Syntax error in httpd-autoindex.conf

I've been using the tutorials here as well as here in order to host a web page using Apache on macOS Catalina Version 10.15.1. The problem was that I couldn't access the localhost and kept getting a ...
1
vote
1answer
211 views

Remote access forbidden but localhost works with Apache

I followed this tutorial and the Apache server works locally. http://localhost/~user/ works but remotely http://my-ip/~user I get: Forbidden. You don't have permission to access this resource. Note ...
1
vote
1answer
31 views

How can I sync Mac Calendar with my own server?

How can I sync Mac Calendar with my own server? Not one of Google, not one of Apple, iCloud. But my own.
0
votes
1answer
453 views

How do I fix macOS Mojave httpd syntax error in a localhost setup?

System details: OS Host: Mac OS Mojave PHP: 7.1.23 I am trying to set up my local server on a new Mac. I have been following the following instructions on https://discussions.apple.com/docs/DOC-...
2
votes
1answer
302 views

CGI scripts won't execute on website

I have a website up and running on the Apache webserver, but the CGI scripts in /Library/WebServer/CGI-Executables will not run. Instead, the text of the file loads in the browser instead. I made ...
1
vote
1answer
3k views

Error: “sudo: command not found” when trying to use XAMPP [closed]

I am trying to use XAMPP to create a server on my MacBook. I'm following the tutorial here: https://www.webucator.com/how-to/how-install-start-test-xampp-on-mac-osx.cfm and I'm stuck on the bit ...
0
votes
1answer
225 views

HTTP Watchdog iOS Application

Is there some application for iOS that alerts me if a HTTP server is down? I am looking for a simple app that sends an HTTP GET request to a URL of my choice several times a day. It can e.g. show a ...
2
votes
1answer
6k views

remove homebrew apache2 fails

On a new Macbook Pro, I installed apache2 with homebrew, but now want to switch back to native apache2 server. I removed the homebrew package with: brew uninstall apache2 I also removed any ...
0
votes
1answer
2k views

Setting up a web server with a domain name on an iPhone

Is it possible to set up a proper web server with a domain name on an iPhone or on iOS?
1
vote
1answer
59 views

How to access Mac OS web server from mobile by local name?

I want to debug mobile version of my website on my iphone/android. But cannot open it on mobile. I've read some related questions and all they suggest is to add localname to /etc/hosts but I already ...
2
votes
1answer
369 views

Permissions on apache2 directory

I was working through these instructions to get my web server working again and needed to change the /etc/apache2/httpd.conf file. I needed to change the permission on httpd.conf file and did. Next I ...
3
votes
1answer
443 views

MAMP still can't access Apache after creating local virtual hosts

I had finally got my PHP and MySQL to work again and then I decided to set up local virtual host. Everything was working perfectly up to that point. I have been getting error messages when I do ...
2
votes
1answer
1k views

Can we setup a local HTTPS Server in Mac OS X using swift

I want to setup a local HTTP Server running in my Mac OSX machine which should be able to handle requests that are coming from web browser. But I am not sure whether we can setup HTTPS server using ...
2
votes
1answer
26 views

Why did apache move config, and how do I move it back?

I just installed PHP 7, and suddenly localhost is no longer accessible. Investigating, apachectl determined that it changed from reading /etc/apache2/httpd.conf, to now be reading /usr/local/etc/...
1
vote
0answers
73 views

Can /etc/apache2 directory on Sierra work on High-Sierra?

My question is related to the following: "Apache not working with user Sites folder on macOS 10.13 High Sierra" I installed High-Sierra over Sierra, and all my localhost/~username/pages were ...
6
votes
1answer
691 views

High Sierra: Can't connect to a xampp server running on another machine after upgrading macOS

I have a Xampp web server running on another computer in the local network and my Mac can no longer access it after updating to High Sierra. All other devices I have in the same Wi-Fi network connect ...
1
vote
1answer
400 views

How to block downloads from app store?

I want to block the iPhone users connected to my home network from downloading apps from the apple app store.I used a similar method to block the auto apple updates but I don't know the server ...
3
votes
1answer
49 views

Website hosted on Mac taking too long to load on the first access

I'm using an old Macbook Pro (2011) to host a few websites. Everything works fine, but after a long time without hitting the server the websites take a really long time to load (even in my local ...
0
votes
1answer
5k views

How to prevent Safari from stopping downloads when sleeping?

I am using macOS Server to host files on a website. I often need to download large files to the server to host them myself. Because I do not usually have physical access to the server, I use the ...
0
votes
1answer
925 views

How to run httpd on macOS without Apache [closed]

I'm trying to build a BCHS application. I do have a remote server running OpenBSD, but the network latency is killing me, so I decided to develop on my MacBook Air and deploy to the OpenBSD server ...
2
votes
1answer
2k views

Use jailbroken iPhone as webserver

I know that this already has an answer, it is outdated. I am running iOS 10.3.3 on an iPhone 5 (so its 32 bit), and I want to run a web server for no reason at all. I have tried install lighttpd and ...
0
votes
1answer
7k views

Problem with XAMPP after installation

I have just installed XAMPP and when I click "start all" nothing actually starts since there is a problem with the some configurations (I do not have any idea of what those lines mean since I am a ...
5
votes
3answers
8k views

Conflict between internal Apache and Apache installed via Homebrew

I have faced following trouble. I wanted to have multiple versions of PHP so I used this article to achieve this. But I could not stop Apache via sudo apachectl -k stop when running this command I am ...
2
votes
0answers
99 views

PHP mail not sending (possible macOS Server or Firewall issue?)

This is a relatively complex problem and LONG description, so bear with me. Please ask questions in the comments if you think I can clarify something. I am hosting multiple websites on a single ...
0
votes
1answer
100 views

Localhost to custom page

I am running macOS 10.12.5 and I am setting up a localhost and everything looks correct. I used brew to install Apache (httpd), MySQL, and PHP. I have changed the hosts file to point the localhost ...
0
votes
1answer
434 views

What is the path to the global directory for binary files in MacOS?

What is the path to the global directory (for example: /usr/local/bin etc.) for binary files in macOS? The problem is that I can run the command from another user. With this command I want to start ...
5
votes
2answers
12k views

Connect to SMB server on startup

I got a late 2017 macbook pro running the High Sierra update. I am wondering if its possible to auto connect to a smb server. I need to do this manually everytime i start up at work. And as small as ...
3
votes
2answers
169 views

How do I give a CGI script permission to access Calendar?

When I run my script from the command line I can use - am actually prompted to use - System Preferences to add ssh-keygen-wrapper to be authorised to access the Calendar. But when I run the script ...
1
vote
1answer
8k views

localhost / userdir on macOS High Sierra

There's a tutorial here Setting up a local web server on macOS 10.13 "High Sierra" https://discussions.apple.com/docs/DOC-12034 localhost works but user shortname - fails. What gives?
0
votes
1answer
91 views

Mac mini-hosted WordPress websites won't load on any of the Macs on LAN

I have three Mac minis on our LAN, all of which have Yosemite and OS X Server, but only one is enabled as a web server. My problem is that I can see the WordPress-based websites hosted on this web ...
1
vote
1answer
1k views

Code sign on Ubuntu Server

I have a service, where an app is generated from a jar file, using Jar2App, on the fly. I use an Ubuntu Linux server as host for the service and I need to sign the app, after it is generated. How ...
3
votes
1answer
477 views

MacOS Sierra - localhost not found while using Hugo (not related to Apache)

note this is NOT related to Apache and I'm not looking for Apache-centered answers. I am using the Hugo static site generator to create sites and trying to test on a MacBook running Sierra. I am ...
1
vote
1answer
2k views

Configuring XAMPP on macOS Sierra (version 10.12.6)

On a fresh installation of macOS, I decided to use XAMPP (I have previously used MAMP (free ver.)) but I have encountered some simple issues. The general tab shows IP address 192.168.64.2 but my ...
1
vote
1answer
1k views

Configure dnsmasq and use DHCP provided DNS together

Running MacOX Sierra on MacBook Pro, and setting up for local dev environment with nginx as the web server, but I have a problem. What I want to do Use dnsmasq as the local dns server that returns ...
0
votes
1answer
396 views

Sierra - Apache localhost user level and phpMyAdmin

I've installed the AMP stack (Apache, MySQL, PHP) and phpMyAdmin on my system. I set up user level root too (localhost/~user) and it worked. The things that make me still confused are: Why is it ...