-2

This may seem a very stupid question, but if you go through the installation of mantisBT on a UNIX server, which directory does it install into? I cannot find any of the files.

I foolishly thought that as the path was http://myWebServerHere/mantis/login_page.php, that if I went to the root of my web server (/var/www) i would then see a directory called mantis, with login_page.php in it. But I don't.

In that directory I see several other files that I can load by using the server url and the file name, but nothing else.

BTW How is it even possible for mantis to be loading in my browser if it isn't under www?

Louise
  • 382
  • 1
  • 6
  • 16

2 Answers2

0

How is it even possible for mantis to be loading in my browser if it isn't under www?

/var/www is just a directory, your web server can be configured to look for files in lots of locations. How depends on the web server.

Martin
  • 5,119
  • 3
  • 18
  • 16
-1

A colleague told me about 'locate', so I was able to find it.

'find' is useless, as you have to basically already know where it is to get close enough to see it. Otherwise if you use 'find' from root most of the resulting lines (usually with what you are looking for in it) disappears off the top of the terminal window, beyond where you can scroll back to.

Still don't know why things can be in more than one www directory and show up online.

Louise
  • 382
  • 1
  • 6
  • 16
  • Do yourself a favour and learn more about things before calling them useless. Piping the output of find or any other command through `more` or `less` will give you infinite scrolling (and lots of other features). Use it like this `find / -name foo.php | less` – Martin Apr 04 '14 at 09:26
  • the simplest functions and output should need the simplest commands. if you have to put in a long string of commands to get a simple output (only the matches), it's a bad design. complex output should expect complex input. – Louise Apr 04 '14 at 09:54