You didn't post what you had typed in the address bar of your browser that gave the access forbidden error message.
First delete your entry in the httpd.conf file.
Next open the
httpd-xampp.conf file in the
extra folder.
You will see other
Alias Directives in there.
Below the phpmyadmin Alias add your entry but use
Alias not
ScriptAlias(
unless the PHP folder contains CGI scripts that will be processed by mod_cgi's cgi-script handler, I am assuming that it does not)
for example:
- Code: Select all
Alias /phpdev "D:/apps/PHP"
<Directory "D:/apps/PHP">
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Save the
httpd-xampp.conf file and restart Apache to have your edits recognised - see how that goes and a tip when developing at localhost level, clear your browser's cache frequently and in particular if you get unexpected issues.
Also make sure there is no
.htaccess file in the D:\apps\PHP folder that may be overriding your Apache server configuration files.
Some reading to help with defining the differences between Directives
Alias and
ScriptAlias:
http://httpd.apache.org/docs/2.2/mod/mo ... criptaliashttp://httpd.apache.org/docs/2.2/mod/mo ... html#alias