Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Apache] ...e i files di htdocs dove sono finiti?[risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cotlod
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2005
Posts: 111

PostPosted: Thu Sep 22, 2005 8:56 am    Post subject: [Apache] ...e i files di htdocs dove sono finiti?[risolto] Reply with quote

Situazione cancellando manualmente la cartella htdocs presente in /var/www/localhost e reinstallando apache non mi compare + la pagina di test, quindi pare ke i files di default di apache (icone,pagina test,ecc..)non ci siano +.

Una piccola domanda anke x capire meglio emerge: che diavolo di fine hanno fatto tutti questi files?e poi possibile ke riemergendo apache con le medesime opzioni i suddetti file non 'ritornino'?cm funziona?

Grazie


Last edited by cotlod on Thu Sep 22, 2005 9:26 am; edited 1 time in total
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 22, 2005 9:00 am    Post subject: Reply with quote

In teoria una re-emersione dovrebbe ripristinare tutti i files mancanti e/o modificati...

Prova a dare un
Code:
equery f apache


[EDIT]
per favore, evitiamo l'uso di abbreviazioni da SMS, grazie ;)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
cotlod
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2005
Posts: 111

PostPosted: Thu Sep 22, 2005 9:10 am    Post subject: Reply with quote

scusa...forza dell'abitudine :roll:

con il comando che mi suggerisci mi da tutta la sfilza di files, di cui alcuni evidenziati, tra cui appunto c'è anke /var/www evidenziato ma non vedo altro nella cartella, ne fisicamente, ne spulciando l'output con less.

...spero non sia grave...
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Thu Sep 22, 2005 9:14 am    Post subject: Reply with quote

effettivamente...
Code:
Hal9000 ~ # equery f apache | grep htd
/usr/sbin/htdbm
/usr/sbin/htdigest2
/usr/share/man/man1/htdigest2.1.gz

_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 22, 2005 9:19 am    Post subject: Reply with quote

Code:
nebula ~ # equery b /var/www/localhost/htdocs/index.html
[ Searching for file(s) /var/www/localhost/htdocs/index.html in *... ]
net-www/gentoo-webroot-default-0.2 (/var/www/localhost/htdocs/index.html)


Chiaro perchè? :P :P :P
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
cotlod
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2005
Posts: 111

PostPosted: Thu Sep 22, 2005 9:20 am    Post subject: Reply with quote

a me lo stesso comando da anche dei file .html.* nella cartella /usr/share/doc/...
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 22, 2005 9:22 am    Post subject: Reply with quote

cotlod devi riemergere net-www/gentoo-webroot-default
I files che cerchi sono contenuti in questo pacchetto, e non in apache :P
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
cotlod
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2005
Posts: 111

PostPosted: Thu Sep 22, 2005 9:25 am    Post subject: Reply with quote

mmm allora a questo punto non capisco perchè non me lo dava come dipendenza di apache...cmq risolto!

Grazie a tutti
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 22, 2005 9:29 am    Post subject: Reply with quote

cotlod wrote:
mmm allora a questo punto non capisco perchè non me lo dava come dipendenza di apache...cmq risolto!

Non te lo (ri)dava come dipendenza perchè era già installato probabilmente :P
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
cotlod
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2005
Posts: 111

PostPosted: Thu Sep 22, 2005 9:37 am    Post subject: Reply with quote

già confermo, grazie per le dettagliate delucidazioni!

Grazie a tutti!
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu Sep 22, 2005 11:22 am    Post subject: Reply with quote

Ricorda chel, essendo una dipendenza di un pacchetto in world, conviene riemergerlo con l'opzione --oneshot per non sporcare il file world...

Se hai risolto metti il tag [risolto] al titolo...
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
cotlod
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2005
Posts: 111

PostPosted: Fri Sep 23, 2005 2:13 pm    Post subject: Reply with quote

in che senso 'sporcare'?cosa fa l'opzione '--oneshot' di preciso?è giusto x accrescere la coscienza/conoscenza dell'utilizzo di emerge!

grazie
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Sep 23, 2005 2:22 pm    Post subject: Reply with quote

cotlod wrote:
in che senso 'sporcare'?cosa fa l'opzione '--oneshot' di preciso?è giusto x accrescere la coscienza/conoscenza dell'utilizzo di emerge!

Una sana lettura al F(ine) manual non farebbe male ;)
Comunque per "sporcare", si intende mettere un pacchetto nel file di world, mentre questo pacchetto non dovrebbe esserci in quel file, essendo solo dipendenza di un altro pacchetto in world.... mi sono spiegato o ho fatto ancora più casino? :?

--oneshot (o -1) non fa altro che emergere il pacchetto senza inserirlo nel file di world.

Ad ogni modo, siamo OT... :P
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum