I know jack about Apache so please go easy on me. :-)
I'm trying to set up an AUSST server on a Yosemite test box.
Following these instructions I am able to get it working at the user level, but I can't get it to work at the system level.
I can view http://localhost and see "It works!". I then created the directory Library/WebServer/Documents/AUSST and pointed AdobeUpdateServerSetupTool to download to that AUSST directory.
However with the directory http://localhost/AUSST/ I receive the error "Forbidden. You don't have permission to access /AUSST/ on this server.'
The Apache error log collects this: "[autoindex:error] [pid 1165] [client 10.0.0.10:53485] AH01276: Cannot serve directory /Library/WebServer/Documents/AUSST/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive"
I'm not sure if I'm missing uncommenting something in the /etc/apache2/httpd.conf file or if I need to modify permissions in the directory.
The current state of this test box is a fresh install of Yosemite, then I started Apache & ran AdobeUpdateServerSetupTool. This time I didn't make any of the user level configurations because I want to have this running at the system level.
What am I missing?
It's telling you that there's no index page to pull and that options is forbidding directory indexes as it's a security function. You don't want people randomly listing all files on your server.
Have a look at /Library/WebServer/Documents/AUSST with
ls -l /Library/WebServer/Documents/. It would normally be owned by either root or www and needs to be readable by all.
ls -l /Library/WebServer/Documents/ drwxr-xr-x 4 root wheel 123 10 Aug 2015 AUSST
That should work fine so its probably what some of the others have said, a missing index file and folder listing disabled.
If you take a copy of the index.html and drop it into
/Library/WebServer/Documents/AUSST does it load ok?
Thanks all. I'm not sure of what the source of the problem is. I got it working by instead using OS X Server's built-in web service - after checking the "Allow Folder Listing" box in "Edit Advanced Settings..."
Prior to checking that box I had the same "Forbidden" error.
There isn't supposed to be an index.html file in there. My successful attempt at the user level, and my successful attempt with MAMP revealed no index.html file. Unfortunately my MAMP config broke after a reboot LoL. There isn't one in the OS X Server AUSST directory either.
Also, after I got this working I noticed in Adobe's KB article that they use XAMPP to spin up Apache - near the end of the doc. But when my MAMP broke I realized that every deployment will be setting up would be using an OS X Server box so I went down that road instead.
Adobe's KB resources are good, but not great. ;-)
/Library/WebServer/Documents is the Snow Leopard web home, /Library/Server/Web/Data/Sites/Default is the new Server.app hotness. I've set up AUSST on a bunch of different 10.8-and-later servers, set the folder there and had zero issues. I usually try to get it a browser to display one of the xml feed files in the path to make sure everything is cool...
I think I confused things here. My first tests were with OS X client, not server. After I almost got this working on OS X client I realized I would be setting up these AUSST servers on boxes with OS X Server anyway. So I changed my testing to that environment. Which turned out to be much easier. The only gotcha was needing to check the box for "Allow Folder Listing" box in "Edit Advanced Settings..."
@gskibum I know this is a old post, however I figured answering this might help others.
What "Allow Folder Listing" does is allow indexes. To set this in apache you would:
This allows for any subdirectory in the document root to be browseable.
Obviously you would want to make sure your document root and subdirectories don't have any sensitive content in them.
If they did, you could create a dir to host content and then set that as your document root.