Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Step by step sample login application
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tom Boutell  
View profile   Translate to Translated (View Original)
 More options Aug 24 2012, 8:35 am
From: Tom Boutell <t...@punkave.com>
Date: Fri, 24 Aug 2012 08:35:50 -0400
Local: Fri, Aug 24 2012 8:35 am
Subject: Re: [apostrophe] Step by step sample login application
Try those links with:

http://localhost/index.php/about

Rather than just:

http://localhost/about

If the first works, then you have a mod_rewrite issue with .htaccess
being ignored or rewrites not really working, because that's exactly
what the rewrite rules are meant to address.

You might need to comment out or uncomment the RewriteBase / line in
.htaccess (if anyone knows why this is essential on some platforms and
the kiss of death on others, I'm all ears).

On Fri, Aug 24, 2012 at 3:35 AM, Shraddha Bandekar

<shraddha.bande...@gmail.com> wrote:
> Hi, Now I did a fresh install exactly following the steps in the apostrophe
> manual. Without modifying the vhost.sample. Only edited
> /etc/apache2/httpd.conf file to include ServerName localhost. Now I am able
> to get the index page perfectly with css. But still unable to open any
> links. Gives a page not found error.

> On Friday, 24 August 2012 11:26:03 UTC+5:30, Shraddha Bandekar wrote:

>> @Justen I tried with the steps and both the links above but it did not
>> work.

>> On Friday, 24 August 2012 11:24:56 UTC+5:30, Shraddha Bandekar wrote:

>>> Later should I access the project as dev-apostrophe/asandbox/web? or
>>> using localhost/asandbox/web?

>>> On Thursday, 23 August 2012 20:06:06 UTC+5:30, Justen wrote:

>>>> try changing the " ServerName localhost  " to something like "
>>>> ServerName dev-apostrophe"

>>>> and make an entry in your local hosts (/etc/hosts) with the following:

>>>> 127.0.0.1 dev-apostrophe

>>>> i suspect using "localhost" in your apache config might be causing
>>>> problems..

>>>> On Thu, Aug 23, 2012 at 2:07 PM, Shraddha Bandekar
>>>> <shraddha...@gmail.com> wrote:

>>>>> Thanks for quick replies. But the following is the content of my vhost
>>>>> file:

>>>>> # Be sure to only have this line once in your configuration
>>>>> NameVirtualHost 127.0.0.1:80

>>>>> # This is the configuration for cmstest
>>>>> Listen 127.0.0.1:80
>>>>> ServerName localhost
>>>>> <VirtualHost 127.0.0.1:80>
>>>>> DocumentRoot "/var/www/asandbox/web"
>>>>> DirectoryIndex index.php
>>>>>  <Directory "/var/www/asandbox/web">
>>>>> AllowOverride All
>>>>> Allow from All
>>>>> RewriteEngine on
>>>>> </Directory>

>>>>>  Alias /sf "/var/www/asandbox/lib/vendor/symfony/data/web/sf"
>>>>>  <Directory "/var/www/asandbox/lib/vendor/symfony/data/web/sf">
>>>>> AllowOverride All
>>>>> Allow from All

>>>>> </Directory>
>>>>> </VirtualHost>

>>>>> Currently I lost the css also for the web/index page and still unable
>>>>> to use the login or other links. I am new to symfony and apostrophe. And
>>>>> need this working fast for my current project. I have gone through the
>>>>> tutorials. But any further help would be great to start off quickly with my
>>>>> new project.

>>>>> On Thursday, 23 August 2012 18:08:23 UTC+5:30, Fotis Paraskevopoulos
>>>>> wrote:

>>>>>> Hello Shraddha,

>>>>>> You need to set /var/www/asandbox/web as your hosts root, from what I
>>>>>> can gather your web root at the moment is /var/www and so your site will be
>>>>>> available under http://localhost/asandbox which is not recommended BTW.

>>>>>> Read up on proper host configuration for apostrophe in the
>>>>>> installation manual and come back to us.

>>>>>> Best,
>>>>>> Fotis

>>>>>> On Aug 23, 2012, at 3:35 PM, Shraddha Bandekar <shraddha...@gmail.com>
>>>>>> wrote:

>>>>>> No it lies in /var/www/asandbox

>>>>>> On Thursday, 23 August 2012 17:19:21 UTC+5:30, Tom Boutell wrote:

>>>>>>> Maybe you tried to stick it in a subdirectory of another site?

>>>>>>> Sent from my iPhone

>>>>>>> On Aug 22, 2012, at 11:25 PM, shraddha bandekar
>>>>>>> <shraddha...@gmail.com> wrote:

>>>>>>> > No im unable to login to it as i click on submit it says login page
>>>>>>> > could not be found. Also unable to click any links in demo site as
>>>>>>> > it
>>>>>>> > gives page not found for all. I have also enable mod rewrite module
>>>>>>> > in
>>>>>>> > apache. Also d web/ index page shows witout css.

>>>>>>> > On 8/23/12, Tom Boutell <t...@punkave.com> wrote:
>>>>>>> >> Hmmm, have you not already logged into your apostrophe sandbox
>>>>>>> >> site?

>>>>>>> >> On Wed, Aug 22, 2012 at 7:05 PM, Shraddha Bandekar
>>>>>>> >> <shraddha...@gmail.com> wrote:
>>>>>>> >>> Hi i am new to apostrophe and configured it successfully on my
>>>>>>> >>> ubuntu
>>>>>>> >>> machine. It would be great help if someone could post a step by
>>>>>>> >>> step
>>>>>>> >>> guide to create a simple login page in apostrophe explaining the
>>>>>>> >>> code.

>>>>>>> >> --
>>>>>>> >> Tom Boutell
>>>>>>> >> P'unk Avenue
>>>>>>> >> 215 755 1330
>>>>>>> >> punkave.com
>>>>>>> >> window.punkave.com

>>>>>>> > --
>>>>>>> > Thanks & Regards,
>>>>>>> > Shraddha.

>>>> --
>>>> -----------------------------------------------------------------
>>>> http://www.linkedin.com/in/justendoherty - LinkedIn
>>>> http://www.twitter.com/phpchap - Twitter
>>>> http://www.anotherwebdeveloper.com - Portfolio

--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.