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
You will see other Alias Directives
Below the phpmyadmin Alias add your entry but use Alias
(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
- Code: Select all
Alias /phpdev "D:/apps/PHP"
Options Indexes FollowSymLinks MultiViews ExecCGI
Allow from all
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
:http://httpd.apache.org/docs/2.2/mod/mo ... criptaliashttp://httpd.apache.org/docs/2.2/mod/mo ... html#alias