Jump to content

Real quick apache question


Guest SDMF
 Share

Recommended Posts

ok, my mistake, this is the way I've set it up, and it works. I had never tested the earlier way, but I just did some playing and now I can access the directories without a trailing slash

terry@linux:/home/terry$ cat /etc/httpd/httpd.conf | grep linux.aliboom

ServerName linux.aliboom.com:8000

 

terry@linux:/home/terry$ dillo http://linux.aliboom.com:8000/images

Setting locale to en_US

dillo_dns_init: Here we go!

Loading bookmarks...

Nav_open_url: Url=>about:splash<

Nav_open_url: Url=>http://linux.aliboom.com:8000/images<

Dns_server [0]: linux.aliboom.com is 437632b5

Nav_open_url: Url=>http://linux.aliboom.com:8000/images/<

Dillo: normal exit!

note the redirection in there?

 

Should the ServerName statement be used in conjuntion with an Alias?

 

Yes, ServerName should always be set, if possible and can be used with Alias, if needed. Alias is only used if your files are not being shared from the base directory of your http server. For example, my base is /usr/share/httpd/htdocs ---- if I wanted to share some files on my home directory, I'd use

 

Alias /shared /home/terry/shared

Link to comment
Share on other sites

OK, It does redirect now, but it's redirecting to yahoo.com. I didn't find a reference to yahoo in my httpd.conf, so it appears this is something that dyndns has set up.

 

If there is any way to control how it redirects through httpd.conf, that is great, but if not, I don't really care. Like I said, it works with the "/" on the end, so it's not like the URL doesn't work. Just a pet peeve, and something that I can live without.

Link to comment
Share on other sites

I'm still trying to figure out why my router will forward port 8000 but not port 80

 

Figured it out (or a workaround) I've set my public port to 80 and my private port to 8000, and now it works

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...