Forum Moderators: phranque
so anyway, it installed fine. I moved my previous local apache setup to the xampp directories (my local usemod wiki works on localhost:8000). the installed phpmyadmin works, which means php is running. i verified that mysql is running.
i modified the httpd.conf as follows
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@home.lan
DocumentRoot "E:/BT#*$!/cheggit/subversions/trackersite/site"
ServerName chip.cheggit.net
ErrorLog "Y:/xampp/apache/logs/chip.cheggit.net.errors"
CustomLog "Y:/xampp/apache/logs/chip.cheggit.net.access" common
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^/$ /handler.php?page=index [L]
RewriteRule ^/([^\.]*)(\.php)$ /handler.php?page=$1 [QSA]
</VirtualHost>
the result:
[localhost...] shows a dir listing with the one file thats in that directory: wiki.css. all the localhost alias' work fine.
[chip.cheggit.net...] returns
Access forbidden!You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
yes. permissions. thanks. i get that. so i've tried/checked the following to no effect.
bottom line is that the only directory that apache will serve without that error is /xampp/htdocs. On top of all the admin crap (if apache can't use the dirs as me, i shouldn't be able to use them either) This is the icing that makes me believe that it's not a permission thing but still a config thing.
PLEASE don't suggest "checking permissions" unless you happen to know the double super secret location of the place on windows where the apache installer went to lock out every directory but this one.
It's not really important as to what can make this work. It's the php that the site runs on that's important. so workarounds that get this to work out of the specified subversion directory would be highly welcome.
there's several alias' defined for phpmyadmin,the credits and a couple other things. /phpmyadmin goes to the path /xampp/phpmyadmin
when i try to create an alias to a newly created directory, i get the perms error. when i use phpmyadmin as the target for the subdomain, it works.