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
0answers
6 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
15 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
34 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
147 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
65 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
26 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
64 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
165 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
304 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
175 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
321 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
233 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
2k 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
224 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
5k 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?
0
votes
1answer
46 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
336 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
422 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
25 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
71 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
675 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
362 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
48 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
833 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
6k 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
6k 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
89 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
99 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
312 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 ...
4
votes
2answers
10k 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
149 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
81 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
936 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
469 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
393 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 ...
5
votes
2answers
8k views

Folder displaying in terminal but not finder

Alright, so I just started beginning web development using my mac. My localhost says "It works" and I read somewhere I need to add my code files etc in Library/WebServer/Documents. However, inside my ...
1
vote
1answer
3k views

Apache keeps saying: You configured HTTP(80) on the standard HTTPS(443) port!

I have configured an SSL web site using the macOS Server app (version 5.3). When I examine the Apache log, I see this message (twice): [ssl:warn] [pid 4120] AH01916: Init: (mydomain.net:443) You ...
5
votes
3answers
20k views

Why can't browsers resolve localhost?

I've got a program on my machine listening on port 8080 to respond to HTTP requests. But when I try to go to http://localhost:8080/ in a browser... Chrome says: The localhost page isn’t working ...