Project

General

Profile

[UE] httpS ok but not the http

Added by LuigiMdg 8 months ago

Hi,
I have been trying to configure Lighttpd correctly since yesterday and I think I succeeded in part but I have a problem where I don't know where to put my hands, some virtual hosts configured, the https versions work but not the http versions.

This is the lighttpd.conf configuration file:

server.modules = (
    "mod_access",
    "mod_alias",
    "mod_compress",
    "mod_auth",
    "mod_rewrite",
)

server.document-root        = "/var/www/html" 
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.pid-file             = "/var/run/lighttpd.pid" 
server.username             = "www-data" 
server.groupname            = "www-data" 
server.port                 = 80
server.bind                 = "localhost" 
server.socket             = "[::]:80" 

debug.log-request-handling  = "enable" 
debug.log-file-not-found       = "enable" 

index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny             = ( "~", ".inc" )
static-file.exclude-extensions = (".php", ".pl", ".fcgi" )

compress.cache-dir          = "/var/cache/lighttpd/compress/" 
compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )

# default listening port for IPv6 falls back to the IPv4 port
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl" 
include_shell "/usr/share/lighttpd/include-conf-enabled.pl" 
include_shell "cat /etc/lighttpd/vhosts.d/*.conf" 


Replies (6)

RE: httpS ok but not the http - Added by LuigiMdg 8 months ago

Solved, ssl.conf problem

RE: httpS ok but not the http - Added by LuigiMdg 8 months ago

This work but I've continuos problems.. I need an expert, possibly I am willing to pay

RE: httpS ok but not the http - Added by LuigiMdg 8 months ago

Scuse me but I can't delete or edit previous messages..!

For example, I've this configuration:

$HTTP["host"] =~ "(^|\.)website\.com$" 

but when I go to www version this point to folder of other website.. Why? non-www work..!

RE: httpS ok but not the http - Added by gstrauss 8 months ago

Please read How to get help and try some of the steps recommended there.

Whatever issue you have is almost surely in the part of your config you have not shared.

RE: httpS ok but not the http - Added by LuigiMdg 8 months ago

I solved, thank you.

Could I contribute to your project by improving the graphics of this forum for free?
It is really difficult to read a discussion quietly.

RE: httpS ok but not the http - Added by gstrauss 8 months ago

Could I contribute to your project by improving the graphics of this forum for free?
It is really difficult to read a discussion quietly.

I am not sure I understand your words. Graphics will not change your ability to edit posts.

If you are interested in continuing this discussion, please open a topic in the "Misc" forum:
https://redmine.lighttpd.net/projects/lighttpd/boards/4
Thanks.

This site uses redmine. See the "Help" link in the menu bar all the way at the top of the page.

    (1-6/6)