Results 11 to 14 of 14
Thanks for all your help guys!
In Suse, http.conf is located in /etc/apache2/ - I added the line
Code:
Alias /rawlyn/ /home/rawlyn/public_html/
to the end of the file, restarted, and ...
- 07-23-2005 #11Just Joined!
- Join Date
- Mar 2005
- Location
- Cornwall, UK
- Posts
- 40
Thanks for all your help guys!
In Suse, http.conf is located in /etc/apache2/ - I added the line
to the end of the file, restarted, and bingo! It was so simple I feel like a moron, but you never know if you don't ask....Code:Alias /rawlyn/ /home/rawlyn/public_html/

Just an afterthought though - I added the line to the end of httpd.conf - does the order of things in this file matter? It's not like I'm trying to run an e-commerce megasite or anything so I don't suppose it really matters, but I'm just interested :P
Peace,
Rawlyn.
- 07-23-2005 #12Just Joined!
- Join Date
- Jul 2005
- Location
- Inside the Kernel (somewhere)
- Posts
- 41
I've always placed aliases at the top.
Instead of placing an alias, though, if all you're going to do is host your own site, try modifying the virtualhost entry to point to your public_html instead of /etc/apache2 where it probably is going to now
. This'll remove any necessity for you to have /rawlyn/ added to your directives, it'll simply go there on ip request.
- 07-24-2005 #13Just Joined!
- Join Date
- Mar 2005
- Location
- Cornwall, UK
- Posts
- 40
Thanks for that last post, but I don't reckon it's nescessary - I'm not intending to run any kind of site at all, just need to use Apache to parse PHP offline so that I can learn to code with it - the alias does just fine
- 06-08-2006 #14Just Joined!
- Join Date
- Jun 2006
- Posts
- 2
i use "that" alias and put it last line in my httpd.conf and i still cant get what rawlyn get.
sorry .. my english bad .. :P


Reply With Quote