Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
92 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-...
1
vote
1answer
159 views

Fix permissions in Apache

I'm trying to use the built-in Apache server in MacOS mojave. In my browser, accessing http://localhost/~myusername/mypage.html (in case of user dir) or http://localhost/mypage.html (in case of ...
3
votes
2answers
278 views

Server-side includes on an iMac

I have failed for a year to find a way to run SSI (server side includes) on my iMac using the apache web server included with server.app. I am wondering if the server app will allow server-side ...
2
votes
2answers
470 views

OSX Sierra, trouble with virtual hosts

I'm trying to create a separate virtual host on a Mac for a local project, which would not be http://localhost/ibb but, for example: http://ibb.local. For this I carefully followed the next ...
1
vote
0answers
70 views

How to access masOS apache localhost from other devices on lan?

I have MBP with masOS Sierra. I’ve configured Apache server and mysql. I’m not using xampp or some other tool. I want to access my localhost on my iPhone. I’ve tried many different ways mostly ...
0
votes
1answer
2k views

localhost/phpmyadmin - 404 error on macOS High Sierra

I'm setting up a PHP project on my machine's loalhost. This part is working fine, and it's loading the index.php correctly when visiting http://localhost. However, visiting http://localhost/phpmyadmin ...
0
votes
1answer
66 views

Built-in Apache and Php is viable?

Does anybody has experience with using built-in Apache/PHP in a High Sierra? Does it have any drawbacks if compare to homebrew apache/php? I plan to use it with Laravel or GravCMS. Any thoughts?
0
votes
1answer
922 views

Solve /Users/myusername/Sites/foo ~/bar localhost/~myusername High Sierra Apache server connection Internal Server Error

Battle of VirtualHost /Users/myusername/Sites/foo ~/bar Internal Server Error goin on for days now tryin to attach localhost/~myusername to Apache/2.4.28 http server on macOS 10.13.3 High Sierra ...
0
votes
1answer
4k views

Apache not working on my Mac with Sierra

I've followed instruction on how to activate Apache on my Mac prior to upgrading to Sierra. I got the "It Works" page after entering localhost in the address field, yet after I upgraded to Sierra, I ...
0
votes
1answer
648 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 ...
0
votes
1answer
92 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 ...
4
votes
1answer
583 views

Changing Default Apache version on MacOS Sierra

A DHS sweep of the network showed that one of the researchers Macs is running a non-safe version of Apache (2.4.25) and they would like him to update to at least 2.4.27. He is having difficulty ...
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
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 ...
1
vote
2answers
5k views

Localhost Not Working After MacOS Sierra Upgrade

I've tried other solutions I've found on StackExchange for this same problem, but must have a unique situation that is still causing problems. I have a hosts file setup as follows: 127.0.0.1 ...
0
votes
1answer
235 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 ...
8
votes
5answers
42k views

Localhost refuses to connect after upgrading to Sierra OS

I have downloaded and installed apache, php, phpmyadmin, mysql via macports. Everything was working fine before upgrading to macOS Sierra. After the upgrade whenever I try to access localhost I get ...
0
votes
1answer
425 views

Unnable to start new WebApp with webappctl on OSX Server

Question Is there anything else needed other than creation of "mywebapp.plist" in the "/Library/Server/Web/Config/apache2/webapps" and starting it with "sudo webappctl start" command in order to ...
5
votes
2answers
8k views

Cannot ping localhost: “unknown host” on Mac OS X El Captain

I am trying to resolve localhost which right now is "not found" if I ping localhost - I am getting ping: cannot resolve localhost: Unknown host I have made sure that the /etc/hosts file has the ...
1
vote
1answer
582 views

PHP MAMP user not finding /usr/local/bin

I have a website in a shared Linux hosting that uses Ghostscript. I use by php exec function that executes command line functions, gs commands to render PDF files, by simple gs commands. gs -h (will ...
1
vote
2answers
433 views

El Capitan Server using SSL on Apache - AH01276: Cannot serve directory

El Capitan 10.11.4 Server I've been accessing a php site I'm developing at http://localhost/myproject/web/ But after I turn on SSL for that route I get a 403 You don't have permission to access /...
1
vote
1answer
6k 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 ...
0
votes
1answer
585 views

Apache Tomcat Auto Start on reboot

I followed these instructions to install Tomcat 8 on OS X El Capitan https://wolfpaulus.com/journal/mac/tomcat8/ These instructions had section on start/stop using script /Library/Tomcat/bin/...
3
votes
1answer
2k views

Start or Stop Apache without having to give a password?

On Ubuntu you can do something like this: sudo adduser {username} www-data That doesn't work on OS X, and may not be the best approach anyway. On OS X, how can you make Apache start or stop without ...
4
votes
1answer
24k views

How to properly and for once reinstall PHP/Apache

So I'm struggeling with this since a long time and I'd like to find a proper solution. I have php5.4.. install and I want to upgrade to Php 7. No matter how hard I'm trying to do it I can't seems to ...
0
votes
3answers
6k views

localhost loads default apache page

I'm setting up a localhost and everything looks like it should work but whenever I go to site.local it loads the default Apache localhost page (It works!). Here's a copy of my hosts file: ## ## # ...
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/...
2
votes
1answer
3k views

prevent inbuilt apache running using server app

Using OS X 10.11.3 (15D21), with macports, apache 2.4/php 7.0.2 with OS X Server installed (for TimeCapsule sharing) I can't seem to prevent the inbuild apache from starting on reboot. if i use: ...
1
vote
1answer
230 views

Port 9000 apache returns access forbidden

I am using native PHP and native Apache. PHP version is 5.5. userdir module in Apache is enabled, and I have my PHP codes under ~/Sites. Localhost URL is localhost/~username. I have installed XDebug ...
0
votes
1answer
1k views

Mac apache not working - apachectl configtest errors

I'm trying to get off of MAMP and run local versions of an AMP stack on my Mac, but when I try to start apache and run localhost from a browser, it's not coming up with anything. In running apachectl ...
7
votes
1answer
4k views

How to update Server 5 to TLS 1.2?

In the latest version of Apple's Server app version 5.0.4 running on El Capitan (10.11.2), SSL websites use TLS version 1.0. But, as one Ivan Ristic says, « The bottom line is that TLS 1.0 is insecure ...
0
votes
1answer
245 views

xampp + mac os x issues

just installed XAMPP and have tried setting up a local server but the address won't resolve. It will lead to a "Connection Was Reset" error. I tried looking in the logs but none were present so I'm ...
2
votes
1answer
253 views

How to update internal PHP

How do I update the internal PHP on OS X 10.7.1? I've loaded a current version but since I don't have a simple plan how to update it, I won't do it. I guess it's just easy replacing of files in etc/...
1
vote
2answers
8k views

How do I delete apache from OS X Yosemite?

How do I delete apache from OS X Yosemite? I want to start with a new unaltered configuration so I will also need to know how to install the latest version. Following other posts to delete/reinstall ...
1
vote
1answer
703 views

Apache 403 when accessing via IP

I'm running a web server on Yosemite but have run into a bit of an issue. I can access web server via localhost, 127.0.0.1 and locally on other computer server.local. But I can't access it via IP ...
0
votes
1answer
876 views

Trying to Install WWW:Mechanize and Getting Localhost Error

Okay . . . I've been trying to install WWW::Mechanize through CPAN and it always chokes at this line: t/local/back.t ........... 1/47 Error GETing http://localhost:60603/: Can't connect to localhost:...
1
vote
1answer
1k views

OSX default file permissions when copying/saving files

Every time I save a file from a web browser or copy files from our local server to my machine, the default permission "for everyone" is set to none. I'm a web developer. Files that are non-readable ...
1
vote
1answer
216 views

Run Node commands for _www user

I've installed NodeJS for all users on my Mac and when I do a whoami in the terminal it says 'cameron' and I can access node, npm, and grunt globally. However when I try and run these from PHP e.g. ...
4
votes
1answer
2k views

Configure Yosemite Server WebApp with LaunchD

Question Has anyone successfully been able to start a webapp via a webappctl configuration which specifies a launchd configuration in their webapp.plist launchKeys key? Background Specifically, ...
0
votes
1answer
378 views

Error when installing Apache 2.4, PHP 5.5 and MySQL via Homebrew

I tried to install Apache and PHP on Mac OS X version 10.9.5 brew install httpd24 php55 --with-mysql --with-homebrew-apache --homebrew-apxs -v exit with this error local/Cellar/apr-util/1.5.4/...
4
votes
1answer
8k views

Reset or Uninstall Yosemite Server

I installed Yosemite Server and I had previously configured the Apache for web development. Now, It seems that the configuration and everything is messed up. How can I reset my web server ...
2
votes
1answer
3k views

Apache2 no longer working in Yosemite

After upgrading OSX to yosemite, my local apache2 server is no longer working. Running sudo apachectl restart does not give any error, however nothing is running on localhost:80, and nothing is ...
2
votes
1answer
851 views

Can my web app use a UNIX socket on OS X Server?

I'd rather have my Mavericks web app use a UNIX domain socket instead of a TCP port to effect a reverse proxy. I've tried using variants of the Apache syntax for UDS in the proxies section of the web ...
0
votes
1answer
854 views

OSX 10.9.5 upgrade causes apache/php downgrade

Today I installed the OSX 10.9.5 upgrade and it appears to have downgraded my Apache and PHP version. Is there an easy way to reverse this unwanted downgrade? Or do I have to reinstall apache via ...
1
vote
3answers
13k views

Opening apache conf file with write permissions

I'm trying to open the /private/etc/apache2/httpd.conf file to make some changes. I thought I'd be able to open this with the correct permissions from the command line, so I tried: cd /private/etc/...
0
votes
1answer
800 views

Updating Native Mac OSX Mavericks Apache 2.2 to 2.4 - disabling old version?

I have a small problem when I try to update to the new version of Apache WebSrvr on my Mavericks Mac. I compiled and make installed to a different folder than the native: /usr/local/apache24/. which ...
4
votes
1answer
890 views

Changing OS X's Apache settings to replicate Ubuntu's Apache environment

I've been using an Ubuntu distro for a few years now and I greatly prefer the default Apache2 settings on Ubuntu compared to OS X. This post aims to provide instructions on how to convert the few ...
0
votes
1answer
2k views

Username.conf rules to fix 403 error

I am setting up a webserver but I am currently receiving a 403 error when browsing to Localhost. I am setting up "username.conf" and I have a couple of questions: Since I am not logged in as a user ...
1
vote
1answer
226 views

HTTPS POSTS sometimes not getting to apache

On OS X 10.8.5, I have apache fronting a web app that communicates with Authorize.net. After Authorize.net completes a transaction it posts back to my app with confirmation information. 97% of the ...
2
votes
1answer
5k views

How to fix permission denied for home folder with Apache in Mavericks?

I recently activated the apache that ships with OS X Mavericks. I followed some tutorial to set up the web-server, however. When I browse to my home-filter at http://localhost/~nazeem, I get the ...