I'm a complete newbie apache / PHP so I apologies in advance if this is a simple question. I've searched extensively in forums to find a answer to no avail.
I have XAMPP installed on Ubuntu and can access PHPmyadmin without a problem, so my base setup appear to be ok.
I'm trying to install the source code from a book that I am using to learn PHP. I've located the source in my user directory as I plan to use eclipse as my IDE.
I have modified the httpd.conf file and added:
- Code: Select all
<IfModule alias_module>
...
Alias /tshirtshop/ "/home/user/tshirtshop"
Alias /tshirtshop "/home/user/tshirtshop"
</IfModule>
<Directory "/home/user/tshirtshop">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
However, when access http://localhost/tshirtshop I get an index listing or if I try http://localhost/tshirtshop/index.php I get Error 404 Object not found.
Thanks in advance for your help.