can't access apache from localhost using xampp -


hi new programming. trying access apache through localhost , using xampp. running, when type in localhost , show "it works!", when enter localhost/~alexpham/ shows not found! have created folder inside user. great. have tried everything.

cd /etc/apache2/users

directory "/users/alexpham/sites/">

options indexes multiviews

allowoverride all

require granted

allow all

/directory>

alexs-macbook-pro:users alexpham$ sudo chmod 644 alexpham.conf

alexs-macbook-pro:users alexpham$ sudo apachectl restart

alexs-macbook-pro:users alexpham$ cd ~/sites/

alexs-macbook-pro:sites alexpham$ open .

alexs-macbook-pro:sites alexpham$ nano index.html


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -