[support] Error 404 when i copy live site in localhost.

Tomás Lucas Arcos tomaslucas at gmail.com
Fri Jul 6 22:47:21 UTC 2007


All is ok, thanks to Heine and Duplicon of IRC drupal.support.

http://drupal.org/node/102114

The problem between drupal 4.7.3 and php 5.2

Thanks for all.
Regards.



On 06/07/07, Tomás Lucas Arcos <tomaslucas at gmail.com> wrote:
>
> Also, is your settings.php in /sites/default or in another directory? yes
> in /sites/default
> Have you set any $base_url in it? i try it with and without $base_url
> Or any RewriteBase in your .htaccess ?
>  I have:
> # Various rewrite rules.
> <IfModule mod_rewrite.c>
>   RewriteEngine on
>   RewriteCond %{REQUEST_FILENAME} !-f
>   RewriteCond %{REQUEST_FILENAME} !-d
>   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
> </IfModule>
>
>
> On 06/07/07, Cog Rusty <cog.rusty at gmail.com> wrote:
> >
> > This log should help somehow, but to tell the truth I am still
> > confused about what is /acceso, what is /usuario and where is Drupal?
> >
> > Also, is your settings.php in /sites/default or in another directory?
> > Have you set any $base_url in it?
> > Or any RewriteBase in your .htaccess ?
> >
> >
> >
> > On 7/6/07, Tomás Lucas Arcos <tomaslucas at gmail.com> wrote:
> > > This is the log of apache2:
> > >
> > > When i login i have the next log:
> > >
> > > 127.0.0.1 - - [06/Jul/2007:20:35:01 +0200] "GET /acceso HTTP/1.1" 200
> > 31437
> > > " http://www.madridp.com/?q=admin/access " "Mozilla/5.0
> > > (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3
> > > (Ubuntu-feisty)"
> > > 127.0.0.1 - - [06/Jul/2007:20:35:08 +0200] "POST
> > /acceso?destination=acceso
> > > HTTP/1.1" 302 - "http://www.madridp.com/acceso" "Mozilla/5.0 (X11; U;
> > Linux
> > > i686; en-US; rv: 1.8.1.3) Gecko/20061201 Firefox/2.0.0.3
> > (Ubuntu-feisty)"
> > > 127.0.0.1 - - [06/Jul/2007:20:35:08 +0200] "GET
> > /acceso?time=1183746908
> > > HTTP/1.1" 302 - " http://www.madridp.com/acceso " "Mozilla/5.0 (X11;
> > U; Linux
> > > i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3
> > (Ubuntu-feisty)"
> > >  127.0.0.1 - - [06/Jul/2007:20:35:08 +0200] "GET
> > > /usuario/admin?time=1183746908 HTTP/1.1" 200 31791
> > > "http://www.madridp.com/acceso" "Mozilla/5.0 (X11; U; Linux i686;
> > en-US; rv:
> > > 1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)"
> > >
> > > And when i go any link i have the next log:
> > >
> > > 127.0.0.1 - - [06/Jul/2007:20:36:34 +0200] "GET /admin HTTP/1.1" 403
> > 30163 "
> > > http://www.madridp.com/usuario/admin?time=1183746908"
> > > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3 ) Gecko/20061201
> > > Firefox/2.0.0.3 (Ubuntu-feisty)"
> > >
> > >
> > > Other curiosity is that admin?time=1183746908 is all time the same.
> > >
> > > Any idea?
> > >
> > >
> > >
> > > On 06/07/07, Cog Rusty < cog.rusty at gmail.com> wrote:
> > > > This is a mystery... Does the "access denied" come from Drupal or
> > from
> > > > the web server? Does it look themed like Drupal?
> > > >
> > > >
> > > >
> > > > On 7/6/07, Tomás Lucas Arcos <tomaslucas at gmail.com> wrote:
> > > > > Can you explain better if the login is successful or not and what
> > is
> > > denied?
> > > > > The login is successful.
> > > > >
> > > > > - Are you using clean URLs now? yes, and run ok.
> > > > >
> > > > > - When you login as user #1 and then you go to
> > > > >  http://www.abcdef.com/user do you see a login form again or do
> > you see
> > > > > only user #1 information? yes i can to see the historial of user.
> > > > >
> > > > > - Does the Administer menu appear? Is access denied for all the
> > menu
> > > > >  options or only for some? Give an example of one menu option
> > which you
> > > > > tried and is denied access.
> > > > >  Yes the menu appear. The access denied is for all. The option can
> > be
> > > create
> > > > > content, for example.
> > > > >
> > > > > Thanks, regards.
> > > > >
> > > > >
> > > > >
> > > > > On 06/07/07, Cog Rusty < cog.rusty at gmail.com> wrote:
> > > > > > Can you explain better if the login is successful or not and
> > what is
> > > > > denied?
> > > > > >
> > > > > > - Are you using clean URLs now?
> > > > > > - When you login as user #1 and then you go to
> > > > > > http://www.abcdef.com/user do you see a login form again or do
> > you see
> > > > > > only user #1 information?
> > > > > > - Does the Administer menu appear? Is access denied for all the
> > menu
> > > > > > options or only for some? Give an example of one menu option
> > which you
> > > > > > tried and is denied access.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 7/6/07, Tomás Lucas Arcos <tomaslucas at gmail.com > wrote:
> > > > > > > Thank to all for your help.
> > > > > > > You are in correct, the problem was in .htaccess and Apache
> > rewrite
> > > > > module.
> > > > > > > Now i can navigate correctly but when i login wiht user or
> > admin it
> > > show
> > > > > me
> > > > > > > the menu for do things but when i try to make somethig it give
> > the
> > > > > response
> > > > > > > : Access Denied.
> > > > > > >
> > > > > > > Could you help me?
> > > > > > >
> > > > > > > Thanks for you patience and help.
> > > > > > >
> > > > > > > Regards.
> > > > > > >
> > > > > > > On 05/07/07, Cog Rusty <cog.rusty at gmail.com > wrote:
> > > > > > > >
> > > > > > > > On 7/5/07, Tomás Lucas Arcos < tomaslucas at gmail.com> wrote:
> > > > > > > > > Hello Cog,
> > > > > > > > >
> > > > > > > > > What is /www.abcdef.com/pp/ ? Is it an existing directory?
> >
> > > > > > > > >            This is a url of link by the principal page (it
> > is a
> > > > > > > example).
> > > > > > > > >
> > > > > > > > > Where is Drupal installed and what is the URL of the main
> > page
> > > which
> > > > > > > works?
> > > > > > > > >             /var/www/www.abcdef.com/www
> > > > > > > > >             The principal page is www.abcde.com
> > > > > > > > >
> > > > > > > > > Have you checked if it is a clean URLs problem?
> > > > > > > > >             I was looking for information about this but
> > we
> > > don't
> > > > > have
> > > > > > > clean
> > > > > > > > > URL we user pathauto module.
> > > > > > > >
> > > > > > > >
> > > > > > > > So http://www.abcdef.com/pp/ gives you a "URL not found on
> > this
> > > > > > > > server" error, apparently from Apache (not Drupal)
> > > > > > > >
> > > > > > > > What happens if you try http://www.abcdef.com/?q=pp
> > > > > > > > --
> > > > > > > > [ Drupal support list | http://lists.drupal.org/ ]
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Blog: www.lacoctelera.com/tomaslucas
> > > > > > >
> > > > > > > Los Tres Chiflados (NRT).
> > > > > > > --
> > > > > > > [ Drupal support list | http://lists.drupal.org/ ]
> > > > > > >
> > > > > > --
> > > > > > [ Drupal support list | http://lists.drupal.org/ ]
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Blog: www.lacoctelera.com/tomaslucas
> > > > >
> > > > > Los Tres Chiflados (NRT).
> > > > > --
> > > > > [ Drupal support list | http://lists.drupal.org/ ]
> > > > >
> > > > --
> > > > [ Drupal support list | http://lists.drupal.org/ ]
> > > >
> > >
> > >
> > >
> > > --
> > > Blog: www.lacoctelera.com/tomaslucas
> > >
> > > Los Tres Chiflados (NRT).
> > > --
> > > [ Drupal support list | http://lists.drupal.org/ ]
> > >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >
>
>
>
> --
> Blog: www.lacoctelera.com/tomaslucas
>
> Los Tres Chiflados (NRT).
>



-- 
Blog: www.lacoctelera.com/tomaslucas

Los Tres Chiflados (NRT).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070707/74746dce/attachment.htm 


More information about the support mailing list