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
25 views

How to debug why software's web page can't be reached

On my Apple OS X (High Sierra system), I am trying to install a software called PowerPanel Business from CyberPower: it's a server that monitors an uninterruptable power supply (UPS) connected via USB,...
2
votes
1answer
44 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
754 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
89 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
891 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
463 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
25 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
82 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
261 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
711 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
21 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
70 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
466 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
145 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
44 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
2k views

How to prevent Safari from stopping downloads?

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
571 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 ...
1
vote
1answer
759 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
3k 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 ...
3
votes
3answers
3k 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
50 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
88 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
75 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
4k 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
118 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
60 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
599 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
399 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
1k 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
879 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
362 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 ...
3
votes
2answers
3k 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
1k 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 ...
3
votes
3answers
15k 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 ...
8
votes
1answer
8k views

dnsmasq not working on Mac OS Sierra

I'm running dnsmasq on a 2016 MBP running Mac OS Sierra (10.12.1) but I'm unable to ping any .dev addresses despite having what I believe is the proper config. Running dig does return sane output. /...
0
votes
1answer
208 views

How do I make my iMac Apache server always run?

I have a password protected Apache server running on my iMac (OS X Sierra 10.12.1) at home for personal purposes. It is accessible by the internet so that I can access my home files when I am outside ...
0
votes
1answer
110 views

Mac wants to connect to an old / dead server

My mac is still trying to connect to an old Time Capsule that doesn't exist anymore. I went to Finder -> Go -> Connect to servers and could see the old TimeCapsule server address: "afp://Timey%...
1
vote
1answer
61 views

How to host webapps alongside the server.app based web tools?

Assuming this is possible, what is the recommended method of running multiple webapps alongside the web based apps (wiki, etc) that come with osx server.app ?
1
vote
2answers
8k views

How to set up Document Root as “Sites” folder in Apache on macOS Sierra?

I have an index.html in my /Users/igor/Sites/MySite folder (igor is my username on Mac). Links (for example: <a href="/page">Page</a>) all go to localhost/page instead of http://localhost/~...
8
votes
1answer
18k views

localhost / userdir on macOS Sierra

I've always used: Setting up a local web server on OS X to set up my localhost and userdirs. After upgrading to Sierra, yesterday, my localhost web server wasn't working anymore. I tried following ...
0
votes
1answer
427 views

nginx.vim syntax highlighting

Attempting to use a VIM syntax highlighting plugin for editing nginx config files on El Capitan. It doesn't take. It asks that you place these files and add these directores: ~/.vim/syntax/nginx.vim ...
0
votes
1answer
750 views

Host a site on a Mac [closed]

I have my website locally on my Mac ready to host. It is accessible locally via http://localhost running on MAMP. Let’s say my static public IP from my ISP is : 201.23.45.23 and I’ve already ...
1
vote
1answer
5k views

Can any one upload their httpd.conf file for mac?

I was testing virtual hosting and doing a lot of stuff. Then I suddenly delete my httpd.conf file using rm command. I've deleted httpd.conf.bak and original/httpd.conf. Well now I'm guessing i don't ...
1
vote
1answer
411 views

loookup server IPs the website runs on with nslookup error - Got recursion not available from 192.168.1.1, trying next server

I would like to lookup servers cnn runs on for educational purposes. I issued nslookup www.cnn.com command in terminal and got an error: ;; Got recursion not available from 192.168.1.1, trying next ...
3
votes
0answers
2k views

Can't connect my iPad to the localhost of my Mac

I want to access the localhost of my Mac from my iPad. From my Mac, the address is http://localhost:8888. Through IP address The Mac and the iPad are connected to the same Wifi network. The IP ...
1
vote
1answer
947 views

Accessing a local IIS server in a VM on a Mac from an iOS device for testing

I have a Windows 10 install running in a Parallels VM on 2009 Mac Pro running OS X 10.11 and I want to access the IIS server in the VM for testing on iOS. I can reach website running in the VM from OS ...
0
votes
2answers
570 views

Redirect to different machine with Server App

I am running my main website (e.g. main.com) on a MacMini Server with OS X 10.10 and Server App Version 4. In addition, I serve a Django powered web app on a Raspberry Pi using Gunicorn and nginx. Now,...
0
votes
1answer
1k views

Running mod_perl on El capitan

I'm trying to run mod_perl on El capitan. Process Following http://blog.n42designs.com/blog/2014/10/23/compiling-mod-perl-for-apache-2-dot-4-on-os-x-10-dot-10-yosemite/ an https://stackoverflow.com/...
0
votes
1answer
80 views

How can I hook up a PHP server?

I have a php page I want to test on a server. Is there a server that runs through Terminal.app that supports PHP? I read this tutorial, but either I did it wrong or it didn't work. How can I start up ...