Questions tagged [apache]

The popular open-source Web server application, an implementation of which is included in macOS.

Filter by
Sorted by
Tagged with
1 vote
2 answers
6k 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 ...
user avatar
  • 131
1 vote
1 answer
1k views

Updating OpenSSL in OSX

I am using 10.9 with Server app 3, and right now i am using an obsolete connection with TLS 1.0, RSA and AES_128CBC with HMAC-SHA1 (that cames by default). While i was trying to upgrade openssl, i ...
user avatar
1 vote
1 answer
217 views

I Would Like To Host an HTML Website Without Using Server.app

I am somewhat a novice when it comes to the Apache web server. I currently host Ruby on Rails applications on my Mac Mini Server (Mavericks) using Phusion Passenger. I know that some of the config ...
user avatar
  • 561
1 vote
2 answers
4k views

Ho To Disable ssl3 in OSX Server (for mail and Web hosting)

how do i Disable the ssl3 cipher in OSX Server so as to not be vulnerable for POODLE ?
user avatar
1 vote
2 answers
16k views

Apache 2 `UserDir` problem in OS X Mountain Lion (10.8) Server after upgrade from Lion (10.7)

I had a Mac under OS X Lion. I upgrade it to Mountain Lion, and buy the OS X Server software in the AppStore. Since the beginning, I use the Apache version bundled in Mac OS, and it work fine. But ...
user avatar
1 vote
1 answer
5k views

Apache slow to find localhost -- how can I fix?

I'm running XAMPP on my Mac, which is just an Apache and MySQL server running as my local host. When I set it up, I found port 8000 (the default) was already taken (maybe by the Apache that ships ...
user avatar
  • 390
1 vote
3 answers
6k views

Apache permissions

I'm trying to get LAMP working on OSx Lion and am having a little trouble. Have Apache, MySQL, and PHP set up and working just fine. Have turned on "Website" under sharing in Settings. Removed the ...
user avatar
  • 253
1 vote
3 answers
2k views

~/Sites folder gives 403 error

This is likely a stupid question, and it should be easy, but I'm clearly not seeing it. My local Sites directory seems to have changed permissions since using it yesterday. It's been working fine ...
user avatar
  • 173
1 vote
5 answers
7k views

ASP & PHP Web Server on OS X

On Windows, I ran Xampp on port 80 for PHP/MySQL and IIS on port 8080 for ASP. For OS X, what's the best route to take... Should I just run Xampp for Mac for PHP/mySQL, or is there a better option ...
user avatar
1 vote
1 answer
377 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 ...
user avatar
  • 175
1 vote
2 answers
1k views

How can I switch from mac server App to Apache?

I want to use Apache on macOS 10.13. I issued "sudo apachectl start" command then it enabled. I confirmed to display "It works" on the browser by http://localhost/ and I could know Apache worked ...
user avatar
  • 31
1 vote
1 answer
6k views

localhost is always responding with "Connection refused: localhost:80"

I've been working with the integrated webserver of OS X El Capitan for a while now. I am developing a website project and thus, this was the perfect solution for me. I was starting the local server ...
user avatar
1 vote
2 answers
12k 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/~...
user avatar
  • 113
1 vote
2 answers
567 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 /...
user avatar
  • 205
1 vote
1 answer
2k views

How to make a clean install of OpenSSL on El Capitan

I'm afraid I have made a mess with the version (0.9.8zg) of OpenSSL which was installed on my Mac. While I was trying to update it, now I have some error and for some reasons applications like Apache ...
user avatar
  • 175
1 vote
1 answer
4k views

Change the Apache user in httpd.conf on MAMP?

I have MAMP installed on OS X. This is the /Applications/MAMP/conf/apache/httpd.conf Apache's configuration section for the user which should run the server: ... # # If you wish httpd to run as a ...
user avatar
1 vote
1 answer
1k views

I can not visit localhost with apache on OS X 10.9

The Chrome alert me Oops! Google Chrome could not connect to localhost But my apache still running: 501 80299 71841 0 2:35PM ttys003 0:00.00 grep httpd I paste some piece of important ...
user avatar
  • 131
1 vote
4 answers
2k views

Starting Apache2 on Mountain Lion

I have tried every option to get apache2 to work in Mountain Lion, and I am baffled by how impossible the task seems to be. I just got a new iMac and on a fresh, clean install, I went about setting ...
user avatar
  • 887
1 vote
2 answers
162 views

Where can I find a list of MAMPs?

I'm looking for a MAMP packaging = Apache + MySQL + PHP bundled together for Mac OS X (which is my OS). Where can I find it? Is there an "official" site where I can download it from? [ I know that ...
user avatar
  • 183
1 vote
2 answers
1k views

Cannot start MySQL server with AppleScript - Snow Leopard

I've sucessfully installed MySQL server (5.5.11) on my MAC Snow Leopard. I can start the server using PreferencePane, using command line sudo /usr/local/mysql/bin/mysqld_safe but cannot use the same ...
user avatar
  • 186
1 vote
1 answer
85 views

LaraDock virtual host not working on macOS Monterey Apache2

I have read many posts on the subject but none refers to exactly the same environment I have (macOS Monterey). So what I have done so far... I have successfully installed the latest versions of ...
user avatar
1 vote
2 answers
3k views

Homebrew Apache errors after upgrading to Monterey, how to solve error 256

So, this seems to be a relatively common problem, but following the steps other users used to resolve the issue don't seem to be working for me. I recently upgraded OSX to Monterey on my early 2015 ...
user avatar
  • 158
1 vote
1 answer
624 views

macOS catalina, Apache Benchmark (ab) not working, dyld library not loaded

I just got this error trying to install ab on my Catalina macOS: brew install homebrew/apache/ab Error: homebrew/apache was deprecated. This tap is now empty and all its contents were either ...
user avatar
  • 695
1 vote
1 answer
537 views

Folders in iCloud Drive change their permissions

I am experimenting with moving Documents and Desktop into iCloud Drive. I have a website document root in a folder under Documents. For the website to run on my local machine the permissions of ~/...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 1,309
1 vote
1 answer
343 views

Extensions are disabled in `php.ini` and they still show up on `phpinfo.php`... why?

So, I finally decide it to switch from windows to Mac after 20 years, and I love it! I have so many questions... I've installed apache, php, mysql, imagemagick using homebrew and I have a couple of ...
user avatar
  • 111
1 vote
1 answer
204 views

502 Proxy error when trying to use Homebrew php72 with Server.app websites

I'm having a puzzling issue with a website on macOS server (server.app 5.6, High Sierra 10.13). All works fine when the url length is below 70 characters. 70 and up and I'm getting a Proxy error. The ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
1 vote
1 answer
59 views

hosts file: does it pass the domain name? I'm always redirected to the main site configured on the host

My NEW server IP address is 123.456.789.123. Pointing my browser to 123.456.789.123 (http://123.456.789.123) the server serves me site alpha. Now, on the same NEW server I've configured a second ...
user avatar
  • 111
1 vote
1 answer
307 views

Questions from trouble getting the UniFi Controller to work on macOS High Sierra + Server (port 8080 in use)

After upgrading from Sierra+Server to High Sierra+Server I am running into the problem that port 8080 is occupied by default. This blocks the UniFi controller from launching. After the upgrade, I ...
user avatar
  • 564
1 vote
1 answer
521 views

Current PHP version is 7.2.2 but localhost is running php56

I recently upgraded PHP through Homebrew. When using terminal command PHP -i I'm getting PHP Version => 7.2.2 as expected. However, when running phpinfo(); on localhost I get PHP Version 5.6.30 ...
user avatar
  • 113
1 vote
1 answer
429 views

Deleted the files in /private/etc/apache2/other/

I deleted files in /private/etc/apache2/other/ by mistake. Then I tried to copy files from /private/etc/apache2/original/extra to /private/etc/apache2/other/ to recover my httpd, but it failed. Now ...
user avatar
1 vote
1 answer
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 ...
user avatar
1 vote
1 answer
400 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 ...
user avatar
  • 153
1 vote
1 answer
1k 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 linked ...
user avatar
  • 447
1 vote
1 answer
845 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 ...
user avatar
  • 485
1 vote
2 answers
386 views

Upgrade to El Capitan has broken MySQL and Apache

Due to unforeseen circumstances, I was forced to upgrade to OS X 10.11 (El Capitan). Here, the process I followed was to: install Yosemite onto an external hard drive; migrate data from MacBook Pro ...
user avatar
1 vote
1 answer
277 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 ...
user avatar
1 vote
2 answers
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 ...
user avatar
  • 11
1 vote
1 answer
773 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
1 vote
1 answer
230 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. ...
user avatar
  • 141
1 vote
1 answer
412 views

Can't see Dropbox folder within localhost

I've setup Apache for web development on Yosemite. It's setup fine and I'm able to view folders within my documentroot using http://localhost as I'd expect to. I now want to use my Projects folder ...
user avatar
1 vote
1 answer
521 views

What Is The Path Where Apache Is Located?

When I check logs (Apache, Ruby on Rails) it appears that my development Mac Mini Server is being scanned. I would like to install mod_security. I'm currently running the latest version of Mavericks ...
user avatar
  • 561
1 vote
1 answer
2k views

XAMPP on Mavericks install APC and Memcached

What I already did: Download latest stable release from pecl.php.net with wget- Unpack archive Run phpize, ./configure, make, make install, etc.. That stuff went well, now I have: /usr/lib/php/...
user avatar
1 vote
1 answer
238 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 ...
user avatar
  • 153
1 vote
1 answer
821 views

Access to many websites under OS X Server on port 80

I've installed two web applications (Jenkins and Redmine) on my OS X Mavericks Server. Both are available in local network from other computers as: myserver.local:8080 (Jenkins) myserver.local:8081/...
user avatar
  • 113
1 vote
1 answer
530 views

Does Apache require special settings to run a command?

I am trying to create an image using Bio::Perl/Bio::Graphics and implement it on my webserver. However, whenever I am trying to run my scripts online, the command line does not respond to run my ...
user avatar
  • 921
1 vote
1 answer
1k views

How to undo "sudo rm -rf /etc/apache2/other/+php-osx.conf"

After I did this: sudo unlink /usr/local/php5 sudo rm -rf /usr/local/php5-* To remove the supplemental configuration file that was installed with the updated PHP software, you may be able to remove ...
user avatar
1 vote
1 answer
212 views

Apache truncates files at 65536 bytes after Mavericks upgrade

I was using a mac-ports based LAMP stack before upgrading to Mavericks from Mountain Lion and all was fine.. After the upgrade, apache has started truncating static files.. If I use curl to fetch a ...
user avatar
  • 131

1 2 3
4
5
7