how to set my homepage?

M

mghohoo

hi,everybody.i am a ror beginner
i have a problem in how to configure my websites
----------------------------------------

<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 above.now,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'.
in brief,i want to visit the url http://rails:8080/ ,and the root file
'/' is a ror page .but how i can do?
thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top