The tag has no wiki summary.

learn more… | top users | synonyms

19
votes
3answers
44k 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
2k 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
477 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
371 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
3k 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
3answers
4k 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
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 ...
2
votes
2answers
3k 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
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
1k 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
1answer
707 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
550 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 ...
2
votes
1answer
474 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
886 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
1answer
131 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
2answers
169 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 ...
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
1answer
69 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
1answer
27 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
190 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.
1
vote
2answers
1k 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 ...
1
vote
4answers
1k 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
364 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
2k 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
142 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
237 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
35 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
869 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
287 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
197 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
564 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
387 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
100 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
128 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 ...
1
vote
1answer
128 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
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
1answer
368 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
0answers
318 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
167 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
117 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 ...
0
votes
1answer
61 views

What is answering at port 80 when httpd is down?

Since OS X Lion, web sharing isn't available from the System preferences. So I shut it down using sudo apachectl stop. Doing this, http://localhost/~Username doesn't answer any more and all httpd ...
0
votes
1answer
177 views

What alternatives for reporting OSX Server Web Stats do the same job as AWStats?

I need a replacement tool or script to generate stats from the logfiles OSX Server generates while it runs. I have spent way too much time on AWStats and it's had nothing but permissions issues from ...
0
votes
2answers
130 views

web sharing for vhosts?

I'd like to be able to share websites I'm developing with other users in my network using Web Sharing. I don't develop in my 'Sites' folder though, I have a separate folder for all my projects. ...
0
votes
1answer
282 views

How to set up OS X server for serving static files over HTTP?

I have OS X Server(.app) installed (because I'm a registered developer, so I got it for free). I figured it would be an easy way to flip a switch and get a web server for some static files, for my ...
0
votes
1answer
218 views

Nginx on 10.7 with homebrew

I've purchased an "old" Mac Mini (macmini2,1) from a coworker to serve as a media server beneath my TV. It runs 10.7.5 and can't update any further, it's got a 1.83Ghz Core2Duo and 4Gb RAM, and I've ...