[wellylug] Website not visible??

John Durham johndurh at spunge.org
Wed Jan 31 09:57:24 NZDT 2007


Cliff Pratt wrote:
> John Durham wrote:
>> Cliff Pratt wrote:
>>> Did the stop and start produce no errors?
>>>
>>> Have a look at the logs. There should be an error log and an access 
>>> log.
>>>
>>> Is it listening on port 80:
>>>
>>> netstat -tapn | grep LISTEN | less
>>>
>>> Cheers,
>>>
>>> Cliff
>>>
>>>
>> There were no errors last night, but now I get this:
>> Syntax error on line 23 of /etc/apache2/sites-enabled/www.modecideas.com
>> * Direct to non-URL
>>
>> That line says:
>> Redirect permanent /images /imgs
>>
>> Odd it should object today, not yesterday.
>>
> John,
>
> Please see:
>
> http://httpd.apache.org/docs/2.0/mod/directives.html
>
> According to that the Redirect directive requires two parameters, the 
> first being the old URL (which can be relative) and the new URL (which 
> must be *absolute*). In other words,
>
> Redirect permanent /images http://........
>
> Cheers,
>
> Cliff
Ok, did that just as you described it. Now on re-starting the server it 
produces this message:
The alias directive in /etc/apache2/sites-enabled/modecideas.com at line 
33 will probably never match because it overlaps an earlier alias.
A similar message appears for line 23.

I got rid of the line 33 error by prefixing it with a hash #. Now it is 
saying "line 23 *direct to a non URL" The line is below:
Redirect permanent /images "http://modecideas.com/imgs"

I can't see a problem with it, but for every correction comes a new error??

-- 
Regards, John Durham <http://modecideas.com/contact.html?sig>
Fax/Phone 64 4 5286786
Award winning web site at http://modecideas.com?sig
Server hosted on Ubuntu 4.10
PC-HELPERS list subscribe/unsub at http://modecideas.com/discuss.htm?sig
Good advice is like good paint- it only works if applied. 




More information about the wellylug mailing list