06-17-2002
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
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
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
3. Linux
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
4. UNIX for Advanced & Expert Users
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
5. Shell Programming and Scripting
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. Shell Programming and Scripting
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
7. Shell Programming and Scripting
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
8. AIX
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
9. Web Development
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
LEARN ABOUT MOJAVE
uri::url
URI::URL(3) User Contributed Perl Documentation URI::URL(3)
NAME
URI::URL - Uniform Resource Locators
SYNOPSIS
$u1 = URI::URL->new($str, $base);
$u2 = $u1->abs;
DESCRIPTION
This module is provided for backwards compatibility with modules that depend on the interface provided by the "URI::URL" class that used to
be distributed with the libwww-perl library.
The following differences exist compared to the "URI" class interface:
o The URI::URL module exports the url() function as an alternate constructor interface.
o The constructor takes an optional $base argument. The "URI::URL" class is a subclass of "URI::WithBase".
o The URI::URL->newlocal class method is the same as URI::file->new_abs.
o URI::URL::strict(1)
o $url->print_on method
o $url->crack method
o $url->full_path: same as ($uri->abs_path || "/")
o $url->netloc: same as $uri->authority
o $url->epath, $url->equery: same as $uri->path, $uri->query
o $url->path and $url->query pass unescaped strings.
o $url->path_components: same as $uri->path_segments (if you don't consider path segment parameters)
o $url->params and $url->eparams methods
o $url->base method. See URI::WithBase.
o $url->abs and $url->rel have an optional $base argument. See URI::WithBase.
o $url->frag: same as $uri->fragment
o $url->keywords: same as $uri->query_keywords
o $url->localpath and friends map to $uri->file.
o $url->address and $url->encoded822addr: same as $uri->to for mailto URI
o $url->groupart method for news URI
o $url->article: same as $uri->message
SEE ALSO
URI, URI::WithBase
COPYRIGHT
Copyright 1998-2000 Gisle Aas.
perl v5.18.2 2012-02-11 URI::URL(3)