LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   htdig.conf start url: statement syntax for local indexing. (https://www.linuxquestions.org/questions/linux-software-2/htdig-conf-start-url-statement-syntax-for-local-indexing-440793/)

AwesomeMachine 05-02-2006 02:02 AM

htdig.conf start url: statement syntax for local indexing.
 
Could you tell me how to configure /etc/htdig/htdig.conf

start url: <point to website stored locally on hard drive>

So I can index a website that is in a local directory. Say I have a directory called "/home/sam/directory" that I want to index. It is all html files pointing to each other. How do I specify that, exactly, in the

start url: statement.

I have tried:

start url: http://127.0.0.1/home/sam/directory
start url: http://localhost/home/sam/directory
start url: http://127.0.0.1/home/sam/directory/index.htm
start url: http://127.0.0.1/=/home/sam/directory
start url: file:///home/sam/directory

htdig keeps telling me unknown host, or unable to establish a connection. I opened a listening connection with nc on port 80. I think my syntax is wrong in the start url: statement. Would you please help me out with this?


All times are GMT -5. The time now is 01:03 PM.