Set up apache to point at my homepage


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Set up apache to point at my homepage
# 1  
Old 06-17-2002
Power Set up apache to point at my homepage

I have just install apache 1.3.22 on my solaris 2.6 with virtualhost which is working fine but I want to configure my httpd.conf file so that when I type in my url on an internet browsers it goes straight to my home page.
eg www.mydomain.com should display my home page

at the monent when I type in www.mydomain.com it displays a blank page but when I type in www.mydomain.com/homepage it displays my home page.

I want www.mydomain.com to diplay my home page without type in /homepage.

Can you help?

Thanks in Advance
# 2  
Old 06-18-2002
You need to add /homepage to the document root entry in your httpd.conf file
# 3  
Old 06-18-2002
Thanks but I have already added my homepage to my
DocumnetRoot in httpd.conf file but this did not solve the problem.

my DocumentRoot is /www/files/big/myhomepage.html


when my DocumentRoot was set to /www/files/big it
displays an index of all file within the big directory but I just want my url to display my
homepage.
# 4  
Old 06-19-2002
Try renaming it to index.html (or index.htm). I would have thought the document root would have worked.
# 5  
Old 06-20-2002
MySQL

Thanks I add my hompage to

Directory Index and it work fine

That is

Directory Index homepage.html


Thanks again
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Web Development

Do anyone know how to configure document to point to home directory properly in apache?

Hi from Running web apps from your home folder I've more or less follow the guide, the reason why I'm expering 403 Forbidden is because the higher level directory will take precedance. $ ls -lrthd /home/phpmy/www/joomla/ drwxrwxr-x 2 phpmy phpmy 4.0K May 1 20:26... (2 Replies)
Discussion started by: jediwannabe
2 Replies

2. AIX

How to set the break point using dbx?

Hi, I am trying to debug my project using dbx to understand the code and functionality of modules. I compiled all my C files using gcc -g flag to enable the debug option. I was able to get in to the debug mode using dbx. I was able to create breakpoints using stop at line no. "stop at... (7 Replies)
Discussion started by: Sachin1987
7 Replies

3. Shell Programming and Scripting

How to perform a hexdump using dd from start point to end point?

hi, I would like to ask or is it possible to dump a hex using dd from starting point to end point just like the "xxd -s 512 -l 512 <bin file>" I know the redirect hexdump -C but i can't figure it out the combination options of dd. Hope someone can share their knowledge.. Thanks in... (3 Replies)
Discussion started by: jao_madn
3 Replies

4. Shell Programming and Scripting

get homepage and save it

Hello everyone, I am searching for a way to open a webpage out of the shell and then save it's source to a file. Simply using wget doesn't work as there is java involved. So my idea was to open the URL in firefox (or any other browser) where it it can be opened and then save the source to a... (2 Replies)
Discussion started by: shimaric
2 Replies

5. Shell Programming and Scripting

Homepage stats ping

Hi guys I need a script that can ping a list of hosts and print the output to my homepage, with the result "running" or "dead". I'm new in this so please be patient with me. Can anybody help me? (1 Reply)
Discussion started by: NickB
1 Replies

6. UNIX for Advanced & Expert Users

Where to set the right "Apache" to run after reboot on a RedHat 5 machine ?!

Hi, I'am working on a RedHat server (V5) and having on it 2 Apache instances, but after each reboot i have the wrong one starting so that i have to stop it doing "httpd -k stop" and than launch the right one doing "/etc/init.d/httpd -k start". For more Details, you may see the link i inserted... (4 Replies)
Discussion started by: mehdi1973
4 Replies

7. Linux

Apache Server how to set password for all access?

Hello all, I am new to Linux and am trying to set a password for access to Apache server access. I have both Apache and Tomcat installed in my server, Apache forwards the requests to our Tomcat server which servers the java application we have. The Java application is not configured to ask... (1 Reply)
Discussion started by: firefox211
1 Replies

8. Shell Programming and Scripting

Open google homepage with search results

Hi, we can open firefox Google to open a webpage.But, how can I open the firefox directly with the search term given at commandline and directly display the page with search results. (1 Reply)
Discussion started by: ramkishore
1 Replies

9. Shell Programming and Scripting

Set start point in script

Does anyone know of a way to set up some sort of marker in a shell script, from which the script can be restarted.. e.g. MARKER1 check env variable MAX_RETRY if var not set then while true do check var if set go to MARKER1 ... (2 Replies)
Discussion started by: handak9
2 Replies
Login or Register to Ask a Question