Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Need help in setting DocumentRoot

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  strange URL-related problem.  
Author Message
apachemono

External


Since: Aug 24, 2004
Posts: 9



(Msg. 1) Posted: Fri Aug 27, 2004 3:05 pm
Post subject: Need help in setting DocumentRoot
Archived from groups: alt>apache>configuration (more info?)

Hi friends,
I need help from you in making changes in the DocumentRoot. I have
placed my application in a directory "apps" under /var/www/html and
when i try opening it as http://computername/ it shows me the
directory structure instead of opening the index or default page
whereas i want that whenever the user types on the LAN
http://computername, the application should pop up.When i type
http://computername/apps the application runs. The settings in the
httpd.conf files are:

ServerRoot "/home/usr/apache2/"
DocumentRoot "/var/www/html"
Alias /apps /var/www/html/apps
<Directory "/home/usr/apache2/apps">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex Default.asps default.htm index.htm memberlogin.htm
index.html

Where do i need to make the changes so that when the user types
httpd://computername the application page comes up.
Thanks in advance
Regards

 >> Stay informed about: Need help in setting DocumentRoot 
Back to top
Login to vote
user2865

External


Since: Jul 09, 2004
Posts: 13



(Msg. 2) Posted: Fri Aug 27, 2004 11:12 pm
Post subject: Re: Need help in setting DocumentRoot [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sukhminder wrote:

 > Hi friends,
 > I need help from you in making changes in the DocumentRoot. I have placed
 > my application in a directory "apps" under /var/www/html and when i try
 > opening it as <a style='text-decoration: underline;' href="http://computername/" target="_blank">http://computername/</a> it shows me the directory structure
 > instead of opening the index or default page whereas i want that whenever
 > the user types on the LAN <a style='text-decoration: underline;' href="http://computername," target="_blank">http://computername,</a> the application should pop
 > up.When i type <a style='text-decoration: underline;' href="http://computername/apps" target="_blank">http://computername/apps</a> the application runs. The settings
 > in the httpd.conf files are:
 >
<snip>
 > Where do i need to make the changes so that when the user types
 > <a style='text-decoration: underline;' href="httpd://computername" target="_blank">httpd://computername</a> the application page comes up. Thanks in advance
 > Regards

DocumentRoot "/var/www/html/apps"

Or you could use a 301 Redirect from / to /apps.

--
Matt


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
<a style='text-decoration: underline;' href="http://www.newsfeeds.com" target="_blank">http://www.newsfeeds.com</a> - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Need help in setting DocumentRoot 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SSLSessionCache setting - I'm still learning my way around Apache 2.0, and as part of this learning experience I am working with SSL (mod_ssl). What is the "recommended" setting for SSLSessionCache? I'm a bit out of my league with this setting, unfortunately. (BTW...

setting up for different host names - how do i set up my server so that: www.mysite.com and foo.mysite.com get sent to different initial documents? i.e., the first getting sent to htdocs/index.html, and the second to htdocs/foo.html or something. RH 8.0 apache 2.0.49 TIA!

setting up redirections? - Hi, I have a bit of a strange problem. I'll explain as best I can. I bought a domain and then forwarded it to another URL. When you enter www.domain.net (example) it goes to the home page of the site, which is fine. However, if you click on any file....

Setting up Worldpay - Has anyone used Worldpay for E-Commerce usage before? And if so, what experiences have you had with them, integrating it into your / a client's website? I need to setup an E-commerce website for a client, and they came highly recommended. Any comments..

NEWBIE: Setting up aliases - Hi, I am a newbie to Linux and have just installed Mandrake 9.1 with Apache as one of the packages. I know Apache is up and running because I can get to the default page however I now want to specify a new alias to run CGI scripts from. My first..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]