[Rails] Re: Re: Re: Ruby site structure on Apache

Ezra Zygmuntowicz
2006-02-25T05:16:31Z

I think you might need to erase the /home/mark/htdocs folder and then
run the command again. AQnd it will only need to be done once and it
will stay set.

-Ezra

On Feb 24, 2006, at 6:58 PM, mark sheran wrote:

> I get the error when I try ln -s /home/mark/railsapp/public
> /home/mark/htdocs
>
> "hard link not allowed for directory"
>
> how to do with this?Thanks
>
> Mark
>
> mark sheran wrote:
>> Do you mean I only run the command once
>>
>> ln -s /home/mark/railsapp/public /home/mark/htdocs
>>
>> then the server can remember forever.I do not need change setting
>> files.
>>
>> I ask my hosting company.he ask me change .htaccess.I do not know
>> how.
>>
>> Thanks
>>
>> Mark
>>
>>
>>
>>
>> Ezra Zygmuntowicz wrote:
>>> On Feb 24, 2006, at 1:34 PM, mark sheran wrote:
>>>
>>>>> about all of these deployment issues.  That stuff is so far
>>>>> down the
>>>> how it affect URL access.do I have to change someconfig file of
>>>> Apache?
>>>>
>>>> Thanks
>>>>
>>>> Mark
>>>
>>>
>>> OK Mark-
>>>
>>> 	Lets see if we can solve this for you once and for all. but i
agree
>>> with everyone else here in saying that you shoudlnt worry about
>>> deploying to your web hosts server until you are more experienced.
>>> You should use webrick to develop locally and then worry about it a
>>> bit later when you''ve gotten your feet wet.
>>>
>>> 	As to the current problem of ln-s for the symlink:
>>>
>>>
>>> Lets assume that your directory structure is like this:
/home/mark/
>>> htdocs  What you will want to do is place your rails application
>>> right inside your home folder liek this:
>>>
>>> /home/mark/railsapp
>>>
>>> Now you need to symlink your railsapp/public directory to the
htdocs
>>> folder of your home dir with this command
>>>
>>> ln -s /home/mark/railsapp/public /home/mark/htdocs
>>>
>>> Then you should be set up to run your hello world.
>>>
>>> Cheers0
>>> -Ezra Zygmuntowicz
>>> Yakima Herald-Republic
>>> WebMaster
>>> http://yakimaherald.com
>>> 509-577-7732
>>> ezra@yakima-herald.com
>
>
> --
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>