powered by
Tophost
Home
Forum
Regolamento
Help
Login
Registrati
Statistiche
Utenti
Utenti Totali: 1707
Ultimo utente:
xal
Statistiche
Posts Totali: 29470
Topics Totali: 3404
Online Oggi: 51
Presenze Massime Online: 559
(23 Luglio 2008, 14:24:28)
Utenti Online
Utenti: 0
Visitatori: 52
Totale: 52
Siti amici
PROZONE
>
Forum
>
Zona Provider
>
*Tophost
(Moderatore:
Tophost
) > Topic:
Domini di Terzo Livello
Pagine: [
1
]
2
3
...
12
« precedente
successivo »
Autore
Topic: Domini di Terzo Livello (Letto 54597 volte)
futre
Utente
Posts: 47
Domini di Terzo Livello
«
il:
4 Marzo 2005, 18:52:26 »
salve
prima di tutto auguri e in bocca al lupo, ci sarà in futuro la possibilità di attivare domini di terzo livello?
p.s. non è molto chiara la spiegazione sull'utilizzo del chmod, poichè ho riscontrato che spesso sono la "bestia nera" dei newbie, una maggiore chiarificazione sarebbe utile,
saluti, futre
Loggato
DarkSSJ
Nuovo Utente
Posts: 6
Domini di Terzo Livello
«
Risposta #1 il:
4 Marzo 2005, 19:24:06 »
Citazione
p.s. non è molto chiara la spiegazione sull'utilizzo del chmod, poichè ho riscontrato che spesso sono la "bestia nera" dei newbie, una maggiore chiarificazione sarebbe utile,
Dal man del chmod:
Codice:
CHMOD(1) CHMOD(1)
NAME
chmod - change access permissions of files
SYNOPSIS
chmod [options] mode file...
POSIX options: [-R] [--]
GNU mode denotation: [--reference=rfile]
GNU options (shortest form): [-cfvR] [--help] [--version] [--]
DESCRIPTION
chmod changes the permissions of each given file according to mode,
which can be either a symbolic representation of changes to make, or an
octal number representing the bit pattern for the new permissions.
The format of a symbolic mode change argument is
`[ugoa...][[+-=][rwxXstugo...]...][,...]'.
Such an argument is a list of symbolic mode change commands, separated
by commas. Each symbolic mode change command starts with zero or more
of the letters `ugoa'; these control which users' access to the file
will be changed: the user who owns it (u), other users in the file's
group (g), other users not in the file's group (o), or all users (a).
Thus, `a' is here equivalent to `ugo'. If none of these are given, the
effect is as if `a' were given, but bits that are set in the umask are
not affected.
The operator `+' causes the permissions selected to be added to the
existing permissions of each file; `-' causes them to be removed; and
`=' causes them to be the only permissions that the file has.
The letters `rwxXstugo' select the new permissions for the affected
users: read (r), write (w), execute (or access for directories) (x),
execute only if the file is a directory or already has execute permis-
sion for some user (X), set user or group ID on execution (s), sticky
bit (t), the permissions that the user who owns the file currently has
for it (u), the permissions that other users in the file's group have
for it (g), and the permissions that other users not in the file's
group have for it (o). (Thus, `chmod g-s file' removes the set-group-
ID (sgid) bit, `chmod ug+s file' sets both the suid and sgid bits,
while `chmod o+s file' does nothing.)
The name of the `sticky bit' derives from the original meaning: keep
program text on swap device. These days, when set for a directory, it
means that only the owner of the file and the owner of that directory
may remove the file from that directory. (This is commonly used on
directories like /tmp that have general write permission.)
A numeric mode is from one to four octal digits (0-7), derived by
adding up the bits with values 4, 2, and 1. Any omitted digits are
assumed to be leading zeros. The first digit selects the set user ID
(4) and set group ID (2) and save text image [`sticky'] (1) attributes.
The second digit selects permissions for the user who owns the file:
read (4), write (2), and execute (1); the third selects permissions for
other users in the file's group, with the same values; and the fourth
for other users not in the file's group, with the same values.
chmod never changes the permissions of symbolic links, since the chmod
system call cannot change their permissions. This is not a problem
since the permissions of symbolic links are never used. However, for
each symbolic link listed on the command line, chmod changes the per-
missions of the pointed-to file. In contrast, chmod ignores symbolic
links encountered during recursive directory traversals.
POSIX OPTIONS
-R Recursively change permissions of directories and their con-
tents.
-- Terminate option list.
ADDITIONAL GNU DESCRIPTION
A GNU extension (new in fileutils 4.0) allows one to use --refer-
ence=rfile as a mode description: the same mode as that of rfile.
GNU OPTIONS
-c, --changes
Verbosely describe the action for each file whose permissions
actually changes.
-f, --silent, --quiet
Do not print error messages about files whose permissions cannot
be changed.
-v, --verbose
Verbosely describe the action or non-action taken for every
file.
-R, --recursive
Recursively change permissions of directories and their con-
tents.
GNU STANDARD OPTIONS
--help Print a usage message on standard output and exit successfully.
--version
Print version information on standard output, then exit success-
fully.
-- Terminate option list.
ENVIRONMENT
The variables LANG, LC_ALL, LC_CTYPE and LC_MESSAGES have the usual
meaning. For an XSI-conforming system: NLSPATH has the usual meaning.
CONFORMING TO
POSIX 1003.2 only requires the -R option. Use of other options may not
be portable. This standard does not describe the 't' permission bit.
This standard does not specify whether chmod must preserve consistency
by clearing or refusing to set the suid and sgid bits, e.g., when all
execute bits are cleared, or whether chmod honors the `s' bit at all.
NONSTANDARD MODES
Above we described the use of the `t' bit on directories. Various sys-
tems attach special meanings to otherwise meaningless combinations of
mode bits. In particular, Linux, following System V (see System V
Interface Definition (SVID) Version 3), lets the sgid bit for files
without group execute permission mark the file for mandatory locking.
For more details, see the file /usr/src/linux/Documentation/manda-
tory.txt.
NOTES
This page describes chmod as found in the fileutils-4.0 package; other
versions may differ slightly.
SEE ALSO
chattr(1), chown(1), install(1), chmod(2), stat(2), umask(2)
GNU fileutils 4.0 2004-06-17 CHMOD(1)
Spero di essere stato d'aiuto, ciao!
Loggato
futre
Utente
Posts: 47
Domini di Terzo Livello
«
Risposta #2 il:
4 Marzo 2005, 20:47:21 »
ciao, sono 10 anni che faccio sto mestiere, so come si usa il chmode
ma nelle spiegazioni di tophost non è chiaro perchè non si possa usare il 777. tutto qui.
Loggato
Tophost
Moderatore
Posts: 970
Domini di Terzo Livello
«
Risposta #3 il:
5 Marzo 2005, 06:26:31 »
Citazione
...ci sarà in futuro la possibilità di attivare domini di terzo livello?
Per il terzo livello abbiamo elaborato una soluzione, che consiste in questo:
1. andare nel CPANEL e cliccare sull'icona SERVIZIO DNS per poi accedere al pannello del DNS;
2. a questo punto si deve aggiungere un record di tipo CNAME con nome ad esempio "
forum
" e valore "
www.suodominio.it
.
" (attenzione al puntino finale).
3. Uscire dal CPANEL e ritornare al pannello di controllo. Ora cliccare su FILE MANAGER.
4. Dal file manager se in elenco non compare un file "
.htaccess
" si deve procedere alla creazione dello stesso cliccando su NUOVO FILE.
5. Nella casella "nome per il nuovo file" si deve scrivere "
.htaccess
" e nello spazio sottostante va eliminata la scritta "[Enter code here]" e la sostituita con ad esempio:
Codice:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^forum.suodominio.it
RewriteRule ^(.*)$ http://www.suodominio.it/forum/$1 [L,R=301]
In questo modo tutti coloro che scriveranno "
http://forum.suodominio.it
" saranno rediretti a "
http://www.suodominio.it/forum/
", la locazione dove si imposterà il forum.
Se invece si volesse puntare il dominio di terzo livello "
forum.suodominio.it
" verso un dominio esterno del tipo "
http://pippoforum.altervista.org
" andrebbe scritto:
Codice:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^forum.suodominio.it
RewriteRule ^(.*)$ http://pippoforum.altervista.org$1 [L,R=301]
Certo la soluzione è ancora abbastanza manuale e non volevamo parlarne se non prima di averla messa direttamente nel pannello, ma in fin dei conti è di facile applicazione e quel che più conta disponibile da subito.
Loggato
futre
Utente
Posts: 47
Domini di Terzo Livello
«
Risposta #4 il:
5 Marzo 2005, 09:37:01 »
grazie molto gentile,
provo subito
buona giornata, futre
Loggato
futre
Utente
Posts: 47
Domini di Terzo Livello
«
Risposta #5 il:
5 Marzo 2005, 09:50:52 »
ok, provato, anche se l'header viene cmq sostituito dal percorso originale mi sembra un buon compromesso,
Loggato
superseba
Nuovo Utente
Posts: 12
Domini di Terzo Livello
«
Risposta #6 il:
6 Marzo 2005, 11:12:39 »
per evitare questo problema dell'header(con cui immagino tu voglia indicare la barra dell'indirizzo) dovrei provare ad usare uno script in php in serito nell'home in quanto esiste una variabile che corrisponde a ciò che è scritto nella barra dell'indirizzo e dovresti dirgli allo script di reindirizzare in base a questa variabile...
Loggato
Volverine
Visitatore
Domini di Terzo Livello
«
Risposta #7 il:
8 Marzo 2005, 11:43:01 »
Un sistema abbastanza veloce (anche se sempre manuale) per evitare che venga mostrato sulla barra il percorso è creare un file .htaccess nella directory htdocs con:
Codice:
#Esempio per sotto.dominio.ext
# sotto e' il nome del sottodominio
# dominio.ext e' il nome del dominio
# sottodir e' il nome della directory di cui visualizzare il contenuto
# sottodir deve essere in /htdocs/sottodir e non in /sottodir nello spazio web
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} sotto.dominio.ext
RewriteCond %{REQUEST_URI} !sottodir/
RewriteRule ^(.*)$ sottodir/$1 [L]
Chiaramente potete personalizzare come preferite sotto.dominio.ext, sotto e sottodir che eventualmente possono anche coincidere ;-)
«
Ultima modifica: 4 Dicembre 2009, 11:24:17 da effe8
»
Loggato
federikazzo
Utente
Posts: 182
Domini di Terzo Livello
«
Risposta #8 il:
11 Marzo 2005, 03:50:09 »
l'ho usato e funziona, ma c'è un piccolo errore:
RewriteRule ^(.*)$ sottodir/$1 [L]
"sottodir" dev'essere "/nomecartella", ad es:
RewriteRule ^(.*)$ /nomecartella/$1 [L]
mettendo htdocs (con e senza lo slash davanti) prima del nome della cartella, ottenevo degli errori.
GRAZIE MILLE comunque: mi avete reso la vita più semplice!
solo una domanda: esiste un modo per automatizzare la creazione di questi domini? ad esempio, se si volesse creare un sito (come da.ru o altri) che danno la possibiltà di avere url "brevi" (tuonome.dominio.ext).
la cosa non interessa direttamente me, ma è una semplice curiosità... magari qualcuno potrebbe essere interessato... chissà!
Loggato
Fuoritema.net
- My personal weblog...
ErEiSeR
Utente
Posts: 189
Domini di Terzo Livello
«
Risposta #9 il:
25 Marzo 2005, 13:20:16 »
Salve è la prima volta che posto cmq vi ringrazio tutti in anticipo
allora io vorrei creare dei domini di terzo livello ma facendo
Codice:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^forum.ereiser.net
RewriteRule ^(.*)$ http://www.ereiser.net/index.php?act=idx$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^forum2.ereiser.net
RewriteRule ^(.*)$ http://www.ereiser.net/index.php?act=idx$1 [L,R=301]
il secondo non mi va? cosa ho sbagliato? altrimenti per creare piu di un dominio di terzo livello cosa dovrei fare?
Loggato
My Personal WebPortal [ErEiSeR Site]
ErEiSeR
Utente
Posts: 189
Domini di Terzo Livello
«
Risposta #10 il:
25 Marzo 2005, 15:45:35 »
OK scusate risolto
Loggato
My Personal WebPortal [ErEiSeR Site]
Tophost
Moderatore
Posts: 970
Domini di Terzo Livello
«
Risposta #11 il:
25 Marzo 2005, 15:57:58 »
Citazione
OK scusate risolto
Che era successo? Magari non era stato creato il record nel DNS?
Loggato
ErEiSeR
Utente
Posts: 189
Domini di Terzo Livello
«
Risposta #12 il:
25 Marzo 2005, 17:23:37 »
ehm che figuraccia ^_^''
Loggato
My Personal WebPortal [ErEiSeR Site]
Saizan
Nuovo Utente
Posts: 8
Domini di Terzo Livello
«
Risposta #13 il:
26 Marzo 2005, 00:21:40 »
se si prevede di usare molti domini di terzo livello e non si vuole intasare di linee l'.htaccess ecco una soluzione che ridirige ogni terzo livello verso una omonima sottodir di htdocs:
Codice:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !www.zzodici.it
RewriteCond %{HTTP_HOST} (.*).zzodici.it
RewriteRule ^(.*)$ %1/$1
Ovviamente sostituendo zzodici.it col vostro dominio :)
«
Ultima modifica: 4 Dicembre 2009, 11:24:40 da effe8
»
Loggato
Gioxx
Supervisore
Posts: 904
Domini di Terzo Livello
«
Risposta #14 il:
27 Marzo 2005, 04:13:21 »
Ho effettuato il procedimento da voi indicato per la creazione dei domini di terzo livello e tutto funziona perfettamente, semplicemente fantastico :lol:
Ribadisco ancora una volta che TopHost è un ottimo servizio
Loggato
My Blog
Pagine: [
1
]
2
3
...
12
PROZONE
>
Forum
>
Zona Provider
>
*Tophost
(Moderatore:
Tophost
) > Topic:
Domini di Terzo Livello
« precedente
successivo »
Salta a:
Seleziona una destinazione:
-----------------------------
Zona Operativa
-----------------------------
=> Nomi a Dominio
=> Web Hosting
=> VPS, Serverd Dedicati, Housing
=> Rivendita Hosting
=> E-commerce
=> Sicurezza
=> Programmazione
=> CMS, forum, blog & C.
=> Grafica
=> Come promuovere i siti web
=> Internet News
-----------------------------
Zona Provider
-----------------------------
=> *Tophost
===> Script e C.
-----------------------------
Zona Promozioni
-----------------------------
=> Hosters: annunci dal settore
=> Hosters: offerte speciali e limitate
=> Webmaster: cerco & offro
=> Webmaster: fai conoscere il tuo sito
-----------------------------
Zona Annunci & Relax
-----------------------------
=> Pizzeria
=> Salotto tecnico
=> Domande, suggerimenti e presentazioni
=> Novità e annunci ufficiali
Oggetto
Iniziato da
Risposte
Visto
Ultimo Post
register hosting business
lucaespo
13
5843
10 Settembre 2007, 11:02:16
da
lucaespo
Riciclare Il Traffico Web
effe8
12
10985
9 Marzo 2007, 13:27:48
da
xuncoder
DNS come modificarli correttamente
«
1
2
»
step76
19
19807
27 Giugno 2010, 20:48:27
da Volverine
Excom - Semplice Curiosità
«
1
2
3
»
Ghost22
32
14038
17 Settembre 2006, 22:29:49
da
marcodxn
Tophost: Controllo A Garanzia Delle Risorse
«
1
2
»
Tophost
17
10797
10 Gennaio 2007, 14:26:26
da
Venticello
Caricando...