The tag has no wiki summary.

learn more… | top users | synonyms

19
votes
3answers
48k views

How to turn Mac OS X Lion into a web server?

After using MAMP for ages, I found out I could actually use Snow Leopard's built-in Apache server. Now that I've upgraded to Lion, I have no idea how to do this anymore. Do you know how to turn my ...
6
votes
4answers
3k views

Has anyone ever tried to use an iPhone as web server?

Yeah, it makes no sense to use an iPhone as web server, although the hardware could be used in some interesting ways if this would be possible. You could, for example, set up the iPhone to send a ...
4
votes
2answers
562 views

OS X menubar/dashboard/dock utility for monitoring a server?

Is there any desktop utility for OS X that would periodically monitor a (non-osx) server and display a status icon? Something as simple as attempting to visit a URL every 5 minutes and turning red if ...
4
votes
2answers
381 views

Can I use the Sites folder for whatever I want?

Not realizing that OS X creates a ~/Sites folder when you enable web sharing, I started putting my sites for MAMP within a ~/Sites directory, which did not exist on my new laptop. Is this ok, as long ...
4
votes
5answers
6k views

how to use ipad to access webserver on macbook air

my webserver software is nginx which runs very well on macbook air using mac os x 10.7.5 when i go to http://myapp.localhost on my macbook air, i can access my website perfectly which is running on ...
3
votes
2answers
638 views

Changing path of Xcode Server

I'm running Xcode Server on my Mac Mini, and the HTTP port is open to the internet. I want to be able to host other content on port 80. Is there a way I can change the path where the Xcode Server ...
3
votes
4answers
5k views

Web Sharing Apache Localhost - Access permissions

I want to install phpMyAdmin on the native Apache webserver that is bundled with Mac OS X 10.6. I turned on Web Sharing in System Preferences. Yet, me fear is that my computer is granting access to ...
3
votes
2answers
2k views

Mac OS X Server ignores remote HTTP connections, but accepts local ones

I cannot get Mac OS X Server's web server to accept connections from other machines on the same LAN. This is on OS X 10.8.2, running on a Mac mini which originally shipped with Lion Server. I can ...
3
votes
1answer
5k views

How to activate mod_rewrite on MacOSX Lion

I tried to activate the mod_rewrite module in the httpd.conf, but I do not succeed to make it work. I'm running Lion, and my goal is to do URL rewriting in ~USER/Sites/mysite Can someone help me ...
3
votes
1answer
3k views

What causes OS X to mark a folder as Quarantined?

I had a folder under ~/Sites, let's call it Foo, from which I was sharing a Wordpress site-in-development via Apache. This was working fine, I'd mapped foo.local to 127.0.0.1 in my hosts file and was ...
3
votes
3answers
2k views

Apple Shellshock patch for 10.6?

I am running a small HTTP server (Apache) off my Mac mostly as a hobby. If it becomes compromised it isn't the end of the world but it is something I would certainly like to prevent. I set up a ...
2
votes
2answers
4k views

Edit Lion default web site pages

The first part of the question is: where are the actual files that are displayed by apache for the default web server in Lion Server? Specifically as simple task I would like to change the title of ...
2
votes
4answers
564 views

Running a local web server on MacBook

I am using a MacBook with OS X Mounain Lion 10.8.3 and I want to install a local web server on my machine. What are my options? On windows I used XAMPP.
2
votes
1answer
2k views

How to move the web server folder for web sharing?

How do I move the Library/WebServer/Documents folder, which contains files shown by http://localhost ? For instance, to the Desktop. Also, can the ~/Sites folder be moved too?
2
votes
2answers
2k views

What is the recommended way to set up and run an OS X web server for a busy public website?

I am moving from a VPS to a dedicated Mac mini server running Mavericks. All I want to do is serve a typical website using Apache, an nginx reverse proxy, PHP and MySQL. My website isn't gigantic, ...
2
votes
4answers
2k views

Web Sharing Can't Start

It worked before, and I'm not sure when it stopped working, but I'm unable to start Web Sharing at the moment. Attempting to start it from the Sharing screen results in "Web Sharing Starting..." ...
2
votes
3answers
2k views

Enable home directory sites in Lion server?

I had a Leopard server with a few hundred users (students), and each of them was able to maintain their own web content in their Sites folders in their home directories -- and they could access them ...
2
votes
2answers
1k views

Virtual Hosts Not Working on OSX Mavericks

OSX 10.9.3 I've Included http-vhosts in httpd.conf # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf I've commented out the DocumentRoot and the Directory in httpd.conf # ...
2
votes
1answer
892 views

Web Sharing (Apache) won't turn on in Lion

I'm unable to enable web sharing via System Preferences > Sharing. When I click it to turn it on the light turns yellow but then goes back to gray. I did some Googling and found that many people ...
2
votes
1answer
2k 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 ...
2
votes
1answer
865 views

Error starting apache httpd-2.4.4 configured with mod_jk

I'm trying to configure mod_jk with httpd-2.4.4 and getting the below error when starting apache. httpd: Syntax error on line 500 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of ...
2
votes
2answers
2k views

Cannot connect to server “localhost”?

I've been developing web apps for several months now on my mac using the built in apache server and everything has been fine. I restarted my mac this morning and now when I try to connect to anything ...
2
votes
3answers
2k views

Preferred Location for cgi executables in Lion Server

This question relates to use of a Lion Server only for testing and prototyping, so I don't need multiple sites hosting separate domains. All of my projects have directories in the root directory, not ...
2
votes
2answers
963 views

Moving 'Sites' folder to Dropbox

I'm trying to move my standard ~/Sites folder, or the global Sites folder (in Library/WebServer/Documents) to my Dropbox folder, and make this usable with Web Sharing, PHP, MySQL etc. So far I have ...
2
votes
0answers
26 views

Mac Mini Server Reset To Factory - Help With Fatal Error

I am in desperate need of assistance. I am doing my very first in-house server reset and wipe since graduating from school and I am in over my head. I know I am a noob at it but I am THE I.T. GUY at ...
2
votes
0answers
554 views

Can't connect to a specific server via http or ftp on macbook/imac (ok on iPhone)

More often than not I can't connect to my clients server via web and ftp, it may occasionally work (once every couple of days) but then after a couple of page requests it stops responding - it's like ...
2
votes
1answer
179 views

Can I share my internet connection and redirect clients to my web server?

I often share my internet connection with other Macs and devices and want to know if I can redirect client's web requests to my local web server. Is it as simple as having them use my client's IP ...
1
vote
1answer
342 views

Disable Apache autostart

I'm on a fresh 10.9 install and the default Apache server is org.apache.httpd: Already loaded after each startup. Is there a way to disable that autostart?
1
vote
5answers
1k views

How to open a HTML file of my PC in iphone's browser?

I make mobile optimized websites and I develop websites on my Windows 7 Desktop. Whenever I want to see any .html file on iphone to check compatibility I upload the file to an online FTP then I open ...
1
vote
2answers
339 views

What are good bi-directional, real-time synchronization utilities between Mac local folder and web server?

I have an iMac that is connected to my local network (and, subsequently, the Internet) that has a folder named DocShare. I have a web server hosted off-site through a hosting company, with a similar ...
1
vote
1answer
316 views

How to connect to a mac mini when offline from a mac laptop?

I'm a developer that travels. I have a macbook pro and a mac mini (which runs as a headless webserver). This setup works fine when both machines are on the same network. However, I've never been ...
1
vote
4answers
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 ...
1
vote
1answer
377 views

Sharing local Apache vhost over lan without Hosts/DNS change?

I'm freelancing somewhere and want to share a local (on my MacBook) site with some LAN users via IP. The network structure, time and technical ability here don't allow me get everyone to add host ...
1
vote
4answers
3k 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 ...
1
vote
1answer
777 views

Cannot reach local web site using IP-address of macbook

I am running a web server locally, and I can reach it by typing http://localhost:63342/myproject/index.html (this server is automatically started when I work on a web project in the Webstorm IDE ...
1
vote
1answer
266 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 ...
1
vote
1answer
941 views

OSX Firewall: Forwarding Ports & Ignoring Non-Local Requests

On my production Debian server I use this to forward requests that come in to port 80 to a non-root process running on port 8080: sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j ...
1
vote
1answer
353 views

How to configure Apache for XAMPP on Mac OS X Lion to use mod_rewrite?

I am totally newbie when it comes to .htaccess or Apache. I don't know how it works. My URLs are like http://localhost/category.php?category=something and I'd like to get the variable value as ...
1
vote
1answer
37 views

Trouble accessing the OS X Lion web server from other device

I'm developing a web app for mobile phones. To easily get a feel of how it is to use, I simply copied the app into ~/Sites (after enabling web sharing in the System Preferences). Navigating to ...
1
vote
1answer
1k views

Can Coda 2 be made to uploads to locations other than the root of a website?

I am using Coda 2 coming from Dreamweaver, and it all seems great. However, uploading a file or 'publishing' (what's actually the difference here?) seems to stick the file in the root. Even when the ...
1
vote
1answer
1k views

No Sites Folder in Mountain Lion after Upgrade

After i upgraded Mountain Lion on my MacBook Air, i haven't any Sites folder in my home-folder. On my Mac Mini there is still my Sites folder with all my local sites in it. How do i get it ...
1
vote
2answers
303 views

No web tab on the OS X Lion Server interface

I just installed Mac OS X Lion Server and it doesn't have the Web tab in the services pane. This looked like it was supposed to come standard. How else can I access the Web part of the server?
1
vote
3answers
222 views

How to receive notification of HTTP access

I have a web server running on my Mac and I'd like to be notified (via Growl for example) when someone accesses my server. I searched for something like that in Automator but found nothing. Do you ...
1
vote
1answer
647 views

Share Web through another port

I have a webserver running on a MBA at port 4431 and I want to access through my local network. But web sharing uses port 80 by default and I can't access to my_mba_ip:4431 Can I add ports to web ...
1
vote
1answer
403 views

How can I upgrade PHP on a jailbroken iPhone?

I have an iPod touch running iOS 4.0 and an iPad running iOS 4.3.1, both jailbroken. They have lighttpd and PHP installed, however PHP seems to be an old version that I need to upgrade to use a ...
1
vote
0answers
278 views

MacBook Pro issue with local IP download over wifi

I am facing a strange situation on my MacBook Pro. I'm serving a file via http (whatever server I use, I get the same problem: apache, node.js, ...): [http://localhost:8080/myFile] with my wifi ...
1
vote
0answers
12 views

Web page not updated

I have set my php web server following this guide: https://discussions.apple.com/docs/DOC-3083 If I load the page writing /index.html I see the page, I read "it works!". But if I edit the index.html ...
1
vote
0answers
349 views

Settings on Mountain Lion Server for Publishing Calendar

mountain lion server offers the possibility to publish calendars. Such a calendar (I assume an ics file) could be published on a webserver that could be hosted on the same mountain lion server. ...
1
vote
1answer
240 views

How to host Etherpad (node.js) AND create a closed Wifi network from the same Mac?

I have a successfully running Etherpad install running on my Mac, and when clients on my network connect to my node.js server through the IP address assigned by my router, all is well. But I'm going ...
0
votes
2answers
193 views

Im trying to run a webserver in iMac but it doesn't work in port 800

Im trying to run a local web server Mongoose on mac, its default settings is listening on port 8080,I want to change it to 800 but it doesn't run mongoose once I changed it to 800. What seems to be ...