httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] how i can set my homepage?(ror problem)
Date Tue, 15 Jan 2008 14:36:41 GMT
> -----Original Message-----
> From: mghohoo []
> Sent: Tuesday, January 15, 2008 1:36 PM
> To: users
> Subject: [users@httpd] how i can set my homepage?(ror problem)
> <VirtualHost *:8080>
> DocumentRoot C:/ror/
> ServerName rails
> Options Indexes ExecCGI FollowSymLinks
> RewriteEngine On
> AliasMatch ^/([^/]*)(.*) "c:/ror/$1/public$2"
> </VirtualHost>  
> i have added the sentences,i can visit my 'test'
> page by visiting the url http://rails:8080/test/
> the folder  'test'  is created by the rails command.but i how
> i can set my homepage?in php,i can place a file name index.php in
> c:/test/,while apache show me the message '404 not found'
> after i created the folder 'index'.

Your document root is C:/ror/ so any URL like
http://rails:8080/index.html maps to C:/ror/index.html so that's where
you have to put your file (NB making a folder called "index" is wrong).

Read as
well, in case you don't want to call the file index.html.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.  

> in brief,i want to visit the url http://rails:8080/  .but how
> i can do?
> thanks!
> ________________________________
> mghohoo
> 2008-01-15
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. If you receive this message in error, please notify the
sender urgently and then immediately delete the message and any copies of it from your system.
Please also immediately destroy any hardcopies of the message. The sender's company reserves
the right to monitor all e-mail communications through their networks.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message