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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -