[thelist] OS X Apache hosts, VirtualHost...I'm banging my head!
Steven Pierce
steven.pierce at gmail.com
Sun Jul 27 21:08:09 CDT 2008
Did you set the permissions?? I have done this before also, (Linux) which is
what
Apple is based on. OK.. BSD Unix, I know, I know. I have been up since
3am.
http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/BSDInfluences.html
Try this link, and see if it does allow you to do what you need.
HTH
On Sun, Jul 27, 2008 at 12:06 PM, John Corry <jcorry at gmail.com> wrote:
> I'm loving the Mac...
>
> ..but having a hard time making it do what I want.
>
> VirtualHosts is giving me fits.
>
> I have Apache/PHP/MySQL all installed and (I think) running.
>
> I have a virtualhost set up for localhost. It points to DocumentRoot and
> <Directory> /Library/WebServer/Documents
>
> I put info.pho in there and the phpinfo() function tells me all about
> PHP, great so far.
>
> But I need other directories too.
>
> I've always done this with a new VirtualHost in my httpd.conf file, like
> this:
> <VirtualHost *:80>
> DocumentRoot /Users/jcorry/web_work/phpMyAdmin
> ServerName pma.localhost.com
> <Directory /Users/jcorry/web_work/phpMyAdmin/>
> AllowOverride None
> DirectoryIndex index.php index.html
> </Directory>
> AccessFileName .htaccess
> Options +includes
> </VirtualHost>
>
>
>
More information about the thelist
mailing list