Current time: 04-20-2024, 05:40 AM Hello There, Guest! (LoginRegister)


Post Reply 
index.html
Author Message
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #11
RE: index.html
I understand to make backup of ispcp.conf ? and del from there this line right? Now i will try!
(This post was last modified: 11-05-2007 08:11 PM by scoutsniper.)
11-05-2007 08:09 PM
Find all posts by this user Quote this message in a reply
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #12
RE: index.html
Look now what going on:

i1:~# /etc/init.d/apache2 restart
Forcing reload of web server (apache2).../etc/init.d/apache2: line 78: kill: (22589) - No such process
Syntax error on line 168 of /etc/apache2/sites-enabled/ispcp.conf:
Invalid command '*.coolside.org', perhaps misspelled or defined by a module not included in the server configuration
failed!
First time it start and subdomains work from 1 time it STOP.
P.s: I fix this but one problem is steel there . When i del files from newly create sub it return 404 then i put my index and is steel 404....

P.S 2 : Now when i uploud to htdocs any index to any domain only return 404
(This post was last modified: 11-05-2007 09:50 PM by scoutsniper.)
11-05-2007 09:27 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #13
RE: index.html
Ok, the ServerAlias line is now like this?
Code:
ServerAlias     www.coolsite.org coolsite.org
Does apache now starts correctly?

/J
(This post was last modified: 11-05-2007 10:49 PM by joximu.)
11-05-2007 10:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #14
RE: index.html
Yes it start corectly but look now... Server alias is right.From here OK now.. I del index.html and images folder from coolside by ftp - It del it -OK If i uploud new index it return me 404...Index content is <?php echo("Test"); ?> but return me 404. I try to 3 domains it's same .... Can u help me Thanks in advance Sry for my bad english
11-05-2007 11:09 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #15
RE: index.html
Hi scoutsniper

what sort of files do you upload with FTP?

It's important that the file has a filename extension (.php, .html, .htm or whatever - images have .gif or .jpg...).
I see, there is something on
http://www.coolside.org/index

but if you want to have something on
http://www.coolside.org/

you need a index.html, index.cgi or index.php (or some others - it's configured in apache):

Code:
mods-enabled/dir.conf:          DirectoryIndex index.html index.cgi index.pl index.php index.xhtml

note: the extension is important - even if maybe your windows hides any file extension from you...

/J

Update: in your case a index.html would fit - the others are for php and other scripts...
(This post was last modified: 11-06-2007 01:03 AM by joximu.)
11-06-2007 01:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #16
RE: index.html
No it no index anything only :

Error 403!

/
Forbidden!

When i open by ftp the file index.php is there...
11-06-2007 03:11 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #17
RE: index.html
http://www.coolside.org/index

what's this?

It's the same as
http://www.coolside.org/index.htm
(This post was last modified: 11-06-2007 03:14 AM by joximu.)
11-06-2007 03:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #18
RE: index.html
UPD:This http://coolside.org/index is need to index on go6ko.coolside.org not from coolside.org And By ftp file is there by browser Error 403!
11-06-2007 03:23 AM
Find all posts by this user Quote this message in a reply
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #19
RE: index.html
My mistake Thanks to all. AnYThInG Is Ok Smile ThAnKs A L0T
11-06-2007 04:50 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #20
RE: index.html
So can i close this Thread here ?

Greez BeNe
11-06-2007 05:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)