Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Apache Directory help

  Date: Dec 27    Category: Unix / Linux / Ubuntu    Views: 382
  


I moved my web work from /var/www/ to /home/wadesmart/html/ today.

In /etc/apache2/sites-available/default file this was the original text:

DocumentRoot /var/www/

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>

I tried changing it to this:
DocumentRoot /home/wadesmart/html/

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#<Directory /home/wadesmart/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>

Im reading the documentation but I guess Im not clear on what Im missing. Its
got something to do with permissions but I dont see it.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Apache Directory help Or get search suggestion and latest updates.




Tagged: