L
L
l2k2012-02-13 16:17:29
linux
l2k, 2012-02-13 16:17:29

Apache giving abnormal 302 instead of normal page?

Confused.
There was a site usbflash.ru/ - it worked fine for itself. Now I began to issue 302. Location on itself (which leads to a 310 error in the browser).
In the logs, apache issues 302.
At the same time, www.usbflash.ru/ works fine.
Config:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName usbflash.zcn.ru
ServerAlias ​​usbflash.ru
ServerAlias ​​www.usbflash.ru
DocumentRoot /var/www/usbflash.ru/
ErrorLog /var/log/apache2/error. log
.htaccess file is missing.
I tried to turn off this VirtualHost - the result is the same 302, only www.usbflash.ru starts pointing to the default stub.
What tools can you see and understand what is happening?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pompeev, 2012-02-13
@pompeev

Everything is working?

A
Alexey Zhurbitsky, 2012-02-13
@blo

The X-Powered-By:PHP/5.3.2-1ubuntu4.13 header in the response hints that the redirect is done using php.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question