Hello to all, I take advantage of to present to me since this one is my first contact with this one list . I have the following problem, I have to try to replicate an installation that is in production doing the following thing:
- Export of db of production. (through phpmyadmin of Cpanel) - Creation of db in the localhost and import of the data and structures previously generated. (through line of commandos since the volume was high) - Unloading to the localhost of all the files of the Web. (by means of wget)
- Change of configuration of the files of drupal to adapt them to the new data base in the localhost and the URL bases. - Make the Virtualhost in apache2. - Inclusion of local site in /etc/hosts file aiming at 127.0.0.1.
The drupal version is the 4.7, Apache/2.2.3 and PHP/5.2.1
The access of the main page works perfectly, the problem is when itching on any link the answer always is: Not Found The requested URL /www.abcdef.com/pp/ was not found on this server. You can orient on how solving the problem to Me? Thank you very much by your time and it helps. Greetings
* Tomás Lucas Arcos [05/07/07 09:43]:
- Change of configuration of the files of drupal to adapt them to the new
data base in the localhost and the URL bases.
- Make the Virtualhost in apache2.
- Inclusion of local site in /etc/hosts file aiming at [1]127.0.0.1.
The drupal version is the 4.7, Apache/2.2.3 and PHP/5.2.1 The access of the main page works perfectly, the problem is when itching on any link the answer always is: Not Found The requested URL /www.abcdef.com/pp/ was not found on this server. You can orient on how solving the problem to Me? Thank you very much by your time and it helps.
I found out that apart from doing all this, you have to enter the following lines in your httpd.conf:
<Directory "/var/www/html/drupal"> RewriteBase / Options Indexes Includes FollowSymLinks AllowOverride All Allow from all Order allow,deny </Directory>
where the directory above is your drupal root.
Hello Walter,
Thanks for your answer. Yes i saw this and i put it in my configuration but not run either, even i have a message indicate that haven't RewriteBase.
Regards.
On 05/07/07, Walter Garcia-Fontes walter.garcia@upf.edu wrote:
- Tomás Lucas Arcos [05/07/07 09:43]:
- Change of configuration of the files of drupal to adapt them to the
new
data base in the localhost and the URL bases.
- Make the Virtualhost in apache2.
- Inclusion of local site in /etc/hosts file aiming at [1]127.0.0.1.
The drupal version is the 4.7, Apache/2.2.3 and PHP/5.2.1 The access of the main page works perfectly, the problem is when itching on any link
the answer always is: Not Found The requested URL
/www.abcdef.com/pp/ was not found on this server. You can orient on how solving the problem to Me? Thank you very much by your time and it helps.
I found out that apart from doing all this, you have to enter the following lines in your httpd.conf:
<Directory "/var/www/html/drupal"> RewriteBase / Options Indexes Includes FollowSymLinks AllowOverride All Allow from all Order allow,deny
</Directory>
where the directory above is your drupal root.
-- Walter Garcia-Fontes Barcelona -- [ Drupal support list | http://lists.drupal.org/ ]
On 7/5/07, Tomás Lucas Arcos tomaslucas@gmail.com wrote:
Hello to all, I take advantage of to present to me since this one is my first contact with this one list . I have the following problem, I have to try to replicate an installation that is in production doing the following thing:
- Export of db of production. (through phpmyadmin of Cpanel)
- Creation of db in the localhost and import of the data and structures
previously generated. (through line of commandos since the volume was high)
- Unloading to the localhost of all the files of the Web. (by means of wget)
- Change of configuration of the files of drupal to adapt them to the new
data base in the localhost and the URL bases.
- Make the Virtualhost in apache2.
- Inclusion of local site in /etc/hosts file aiming at 127.0.0.1.
The drupal version is the 4.7, Apache/2.2.3 and PHP/5.2.1
The access of the main page works perfectly, the problem is when itching on any link the answer always is: Not Found The requested URL /www.abcdef.com/pp/ was not found on this server.
What is /www.abcdef.com/pp/ ? Is it an existing directory? Where is Drupal installed and what is the URL of the main page which works? Have you checked if it is a clean URLs problem?
You can orient on how solving the problem to Me? Thank you very much by your time and it helps. Greetings
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.
Thanks in advance.
Regars.
On 05/07/07, Cog Rusty cog.rusty@gmail.com wrote:
On 7/5/07, Tomás Lucas Arcos tomaslucas@gmail.com wrote:
Hello to all, I take advantage of to present to me since this one is my first contact
with
this one list . I have the following problem, I have to try to replicate an installation that is in production doing
the
following thing:
- Export of db of production. (through phpmyadmin of Cpanel)
- Creation of db in the localhost and import of the data and structures
previously generated. (through line of commandos since the volume was
high)
- Unloading to the localhost of all the files of the Web. (by means of
wget)
- Change of configuration of the files of drupal to adapt them to the
new
data base in the localhost and the URL bases.
- Make the Virtualhost in apache2.
- Inclusion of local site in /etc/hosts file aiming at 127.0.0.1.
The drupal version is the 4.7, Apache/2.2.3 and PHP/5.2.1
The access of the main page works perfectly, the problem is when itching
on
any link the answer always is: Not Found The requested URL /www.abcdef.com/pp/ was not found on this server.
What is /www.abcdef.com/pp/ ? Is it an existing directory? Where is Drupal installed and what is the URL of the main page which works? Have you checked if it is a clean URLs problem?
You can orient on how solving the problem to Me? Thank you very much by your time and it helps. Greetings
-- [ Drupal support list | http://lists.drupal.org/ ]
On 7/5/07, Tomás Lucas Arcos tomaslucas@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
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@gmail.com wrote:
On 7/5/07, Tomás Lucas Arcos tomaslucas@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.comHave 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/ ]
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@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@gmail.com > wrote:
On 7/5/07, Tomás Lucas Arcos < tomaslucas@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.comHave 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/ ]
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@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@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@gmail.com > wrote:
On 7/5/07, Tomás Lucas Arcos < tomaslucas@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.comHave 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/ ]
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@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@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@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@gmail.com > wrote:
On 7/5/07, Tomás Lucas Arcos < tomaslucas@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.comHave 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/ ]
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@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@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@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@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@gmail.com > wrote:
On 7/5/07, Tomás Lucas Arcos < tomaslucas@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.comHave 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/ ]
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@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@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@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@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@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@gmail.com > wrote:
On 7/5/07, Tomás Lucas Arcos < tomaslucas@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/ ]
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@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@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@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@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@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@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@gmail.com > wrote: > > On 7/5/07, Tomás Lucas Arcos < tomaslucas@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/ ]
All is ok, thanks to Heine and Duplicon of IRC drupal.support.
The problem between drupal 4.7.3 and php 5.2
Thanks for all. Regards.
On 06/07/07, Tomás Lucas Arcos tomaslucas@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@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@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@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@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@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@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@gmail.com > wrote: > > > > On 7/5/07, Tomás Lucas Arcos < tomaslucas@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).
----- Message from tomaslucas@gmail.com --------- Date: Thu, 5 Jul 2007 09:39:32 +0200 From: Tomás Lucas Arcos tomaslucas@gmail.com Reply-To: support@drupal.org Subject: [support] Error 404 when i copy live site in localhost. To: support@drupal.org
- Export of db of production. (through phpmyadmin of Cpanel)
- Creation of db in the localhost and import of the data and structures
previously generated. (through line of commandos since the volume was high)
Unloading to the localhost of all the files of the Web. (by means of wget)
Change of configuration of the files of drupal to adapt them to the new
data base in the localhost and the URL bases.
- Make the Virtualhost in apache2.
- Inclusion of local site in /etc/hosts file aiming at 127.0.0.1.
To this list you need to add:
- Empty the cache tables; tables prefixed with cache_. - Review {system} table for incorrect file paths and resolve. - Review {variables} table for incorrect file paths and resolve.
Earnie