I can not clear up this drawback, apache labored effective for me then I determine to do a clear set up of sonoma and once I navigate to localhost this message seem
Forbidden You do not have permission to entry this useful resource.
as a substitute when i am going to the folder the place html file are situated and I attempt to open a file it really works effective and I see the content material within the browser.
I do know there are lot of subject about that however nothing appears to work
right here you’ll be able to see my config file, possibly I’m doing one thing flawed
# # That is the principle Apache HTTP server configuration file. It comprises the # configuration directives that give the server its directions. # See <URL:http://httpd.apache.org/docs/2.4/> for detailed info. # Particularly, see # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> # for a dialogue of every configuration directive. # # Do NOT merely learn the directions in right here with out understanding # what they do. They're right here solely as hints or reminders. In case you are not sure # seek the advice of the net docs. You've gotten been warned. # # Configuration and logfile names: If the filenames you specify for a lot of # of the server's management information start with "/" (or "drive:/" for Win32), the # server will use that specific path. If the filenames do *not* start # with "/", the worth of ServerRoot is prepended -- so "logs/access_log" # with ServerRoot set to "/usr/native/apache2" will likely be interpreted by the # server as "/usr/native/apache2/logs/access_log", whereas "/logs/access_log" # will likely be interpreted as '/logs/access_log'. # # ServerRoot: The highest of the listing tree beneath which the server's # configuration, error, and log information are stored. # # Don't add a slash on the finish of the listing path. When you level # ServerRoot at a non-local disk, make sure you specify an area disk on the # Mutex directive, if file-based mutexes are used. When you want to share the # identical ServerRoot for a number of httpd daemons, you will have to vary at # least PidFile. # ServerRoot "/usr" # # Mutex: Means that you can set the mutex mechanism and mutex file listing # for particular person mutexes, or change the worldwide defaults # # Uncomment and alter the listing if mutexes are file-based and the default # mutex file listing will not be on an area disk or will not be applicable for some # different cause. # # Mutex default:/personal/var/run # # Hear: Means that you can bind Apache to particular IP addresses and/or # ports, as a substitute of the default. See additionally the <VirtualHost> # directive. # # Change this to Hear on particular IP addresses as proven beneath to # forestall Apache from glomming onto all sure IP addresses. # #Hear 12.34.56.78:80 <IfDefine SERVER_APP_HAS_DEFAULT_PORTS> Hear 8080 </IfDefine> <IfDefine !SERVER_APP_HAS_DEFAULT_PORTS> Hear 80 </IfDefine> # # Dynamic Shared Object (DSO) Help # # To have the ability to use the performance of a module which was constructed as a DSO you # have to put corresponding `LoadModule' traces at this location so the # directives contained in it are literally accessible _before_ they're used. # Statically compiled modules (these listed by `httpd -l') don't want # to be loaded right here. # # Instance: # LoadModule foo_module modules/mod_foo.so # LoadModule my_custom_module /usr/native/libexec/mod_my_custom.so "My Signature Authority" # #LoadModule mpm_event_module libexec/apache2/mod_mpm_event.so LoadModule mpm_prefork_module libexec/apache2/mod_mpm_prefork.so #LoadModule mpm_worker_module libexec/apache2/mod_mpm_worker.so LoadModule authn_file_module libexec/apache2/mod_authn_file.so #LoadModule authn_dbm_module libexec/apache2/mod_authn_dbm.so #LoadModule authn_anon_module libexec/apache2/mod_authn_anon.so #LoadModule authn_dbd_module libexec/apache2/mod_authn_dbd.so #LoadModule authn_socache_module libexec/apache2/mod_authn_socache.so LoadModule authn_core_module libexec/apache2/mod_authn_core.so LoadModule authz_host_module libexec/apache2/mod_authz_host.so LoadModule authz_groupfile_module libexec/apache2/mod_authz_groupfile.so LoadModule authz_user_module libexec/apache2/mod_authz_user.so #LoadModule authz_dbm_module libexec/apache2/mod_authz_dbm.so #LoadModule authz_owner_module libexec/apache2/mod_authz_owner.so #LoadModule authz_dbd_module libexec/apache2/mod_authz_dbd.so LoadModule authz_core_module libexec/apache2/mod_authz_core.so #LoadModule authnz_ldap_module libexec/apache2/mod_authnz_ldap.so LoadModule access_compat_module libexec/apache2/mod_access_compat.so LoadModule auth_basic_module libexec/apache2/mod_auth_basic.so #LoadModule auth_form_module libexec/apache2/mod_auth_form.so #LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so #LoadModule allowmethods_module libexec/apache2/mod_allowmethods.so #LoadModule file_cache_module libexec/apache2/mod_file_cache.so #LoadModule cache_module libexec/apache2/mod_cache.so #LoadModule cache_disk_module libexec/apache2/mod_cache_disk.so #LoadModule cache_socache_module libexec/apache2/mod_cache_socache.so #LoadModule socache_shmcb_module libexec/apache2/mod_socache_shmcb.so #LoadModule socache_dbm_module libexec/apache2/mod_socache_dbm.so #LoadModule socache_memcache_module libexec/apache2/mod_socache_memcache.so #LoadModule socache_redis_module libexec/apache2/mod_socache_redis.so #LoadModule watchdog_module libexec/apache2/mod_watchdog.so #LoadModule macro_module libexec/apache2/mod_macro.so #LoadModule dbd_module libexec/apache2/mod_dbd.so #LoadModule dumpio_module libexec/apache2/mod_dumpio.so #LoadModule echo_module libexec/apache2/mod_echo.so #LoadModule buffer_module libexec/apache2/mod_buffer.so #LoadModule data_module libexec/apache2/mod_data.so #LoadModule ratelimit_module libexec/apache2/mod_ratelimit.so LoadModule reqtimeout_module libexec/apache2/mod_reqtimeout.so #LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so #LoadModule request_module libexec/apache2/mod_request.so #LoadModule include_module libexec/apache2/mod_include.so LoadModule filter_module libexec/apache2/mod_filter.so #LoadModule reflector_module libexec/apache2/mod_reflector.so #LoadModule substitute_module libexec/apache2/mod_substitute.so #LoadModule sed_module libexec/apache2/mod_sed.so #LoadModule charset_lite_module libexec/apache2/mod_charset_lite.so #LoadModule deflate_module libexec/apache2/mod_deflate.so #LoadModule xml2enc_module libexec/apache2/mod_xml2enc.so #LoadModule proxy_html_module libexec/apache2/mod_proxy_html.so LoadModule mime_module libexec/apache2/mod_mime.so #LoadModule ldap_module libexec/apache2/mod_ldap.so LoadModule log_config_module libexec/apache2/mod_log_config.so #LoadModule log_debug_module libexec/apache2/mod_log_debug.so #LoadModule log_forensic_module libexec/apache2/mod_log_forensic.so #LoadModule logio_module libexec/apache2/mod_logio.so LoadModule env_module libexec/apache2/mod_env.so #LoadModule mime_magic_module libexec/apache2/mod_mime_magic.so #LoadModule expires_module libexec/apache2/mod_expires.so LoadModule headers_module libexec/apache2/mod_headers.so #LoadModule usertrack_module libexec/apache2/mod_usertrack.so ##LoadModule unique_id_module libexec/apache2/mod_unique_id.so LoadModule setenvif_module libexec/apache2/mod_setenvif.so LoadModule version_module libexec/apache2/mod_version.so #LoadModule remoteip_module libexec/apache2/mod_remoteip.so #LoadModule proxy_module libexec/apache2/mod_proxy.so #LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so #LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so #LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so #LoadModule proxy_fcgi_module libexec/apache2/mod_proxy_fcgi.so #LoadModule proxy_scgi_module libexec/apache2/mod_proxy_scgi.so #LoadModule proxy_uwsgi_module libexec/apache2/mod_proxy_uwsgi.so #LoadModule proxy_fdpass_module libexec/apache2/mod_proxy_fdpass.so #LoadModule proxy_wstunnel_module libexec/apache2/mod_proxy_wstunnel.so #LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so #LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so #LoadModule proxy_express_module libexec/apache2/mod_proxy_express.so #LoadModule proxy_hcheck_module libexec/apache2/mod_proxy_hcheck.so #LoadModule session_module libexec/apache2/mod_session.so #LoadModule session_cookie_module libexec/apache2/mod_session_cookie.so #LoadModule session_dbd_module libexec/apache2/mod_session_dbd.so LoadModule slotmem_shm_module libexec/apache2/mod_slotmem_shm.so #LoadModule slotmem_plain_module libexec/apache2/mod_slotmem_plain.so #LoadModule ssl_module libexec/apache2/mod_ssl.so #LoadModule dialup_module libexec/apache2/mod_dialup.so #LoadModule http2_module libexec/apache2/mod_http2.so #LoadModule lbmethod_byrequests_module libexec/apache2/mod_lbmethod_byrequests.so #LoadModule lbmethod_bytraffic_module libexec/apache2/mod_lbmethod_bytraffic.so #LoadModule lbmethod_bybusyness_module libexec/apache2/mod_lbmethod_bybusyness.so ##LoadModule lbmethod_heartbeat_module libexec/apache2/mod_lbmethod_heartbeat.so LoadModule unixd_module libexec/apache2/mod_unixd.so #LoadModule heartbeat_module libexec/apache2/mod_heartbeat.so #LoadModule heartmonitor_module libexec/apache2/mod_heartmonitor.so #LoadModule dav_module libexec/apache2/mod_dav.so LoadModule status_module libexec/apache2/mod_status.so LoadModule autoindex_module libexec/apache2/mod_autoindex.so #LoadModule asis_module libexec/apache2/mod_asis.so #LoadModule info_module libexec/apache2/mod_info.so <IfModule !mpm_prefork_module> #LoadModule cgid_module libexec/apache2/mod_cgid.so </IfModule> <IfModule mpm_prefork_module> #LoadModule cgi_module libexec/apache2/mod_cgi.so </IfModule> #LoadModule dav_fs_module libexec/apache2/mod_dav_fs.so #LoadModule dav_lock_module libexec/apache2/mod_dav_lock.so #LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so LoadModule negotiation_module libexec/apache2/mod_negotiation.so LoadModule dir_module libexec/apache2/mod_dir.so #LoadModule imagemap_module libexec/apache2/mod_imagemap.so #LoadModule actions_module libexec/apache2/mod_actions.so #LoadModule speling_module libexec/apache2/mod_speling.so #LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule alias_module libexec/apache2/mod_alias.so #LoadModule rewrite_module libexec/apache2/mod_rewrite.so #PHP was deprecated in macOS 11 and faraway from macOS 12 #LoadModule perl_module libexec/apache2/mod_perl.so LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so <IfModule unixd_module> # # If you want httpd to run as a distinct person or group, it's essential to run # httpd as root initially and it'll swap. # # Person/Group: The title (or #quantity) of the person/group to run httpd as. # It's often good apply to create a devoted person and group for # working httpd, as with most system companies. # Person _www Group _www </IfModule> # 'Most important' server configuration # # The directives on this part arrange the values utilized by the 'predominant' # server, which responds to any requests that are not dealt with by a # <VirtualHost> definition. These values additionally present defaults for # any <VirtualHost> containers chances are you'll outline later within the file. # # All of those directives might seem inside <VirtualHost> containers, # wherein case these default settings will likely be overridden for the # digital host being outlined. # # # ServerAdmin: Your handle, the place issues with the server needs to be # e-mailed. This handle seems on some server-generated pages, such # as error paperwork. e.g. [email protected] # ServerAdmin [email protected] # # ServerName provides the title and port that the server makes use of to establish itself. # This could usually be decided mechanically, however we advocate you specify # it explicitly to forestall issues throughout startup. # # In case your host would not have a registered DNS title, enter its IP handle right here. # #ServerName www.instance.com:80 # # Deny entry to the whole lot of your server's filesystem. You should # explicitly allow entry to net content material directories in different # <Listing> blocks beneath. # <Listing /> AllowOverride none Require all denied </Listing> # # Word that from this level ahead it's essential to particularly permit # specific options to be enabled - so if one thing's not working as # you may anticipate, just be sure you have particularly enabled it # beneath. # # # DocumentRoot: The listing out of which you'll serve your # paperwork. By default, all requests are taken from this listing, however # symbolic hyperlinks and aliases could also be used to level to different places. # DocumentRoot "/Customers/marcodalmas00/Library/Cell Paperwork/com~apple~CloudDocs/DevWeb" <Listing "/Customers/marcodalmas00/Library/Cell Paperwork/com~apple~CloudDocs/DevWeb"> # # Doable values for the Choices directive are "None", "All", # or any mixture of: # Indexes Consists of FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Word that "MultiViews" have to be named *explicitly* --- "Choices All" # would not give it to you. # # The Choices directive is each sophisticated and essential. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#choices # for extra info. # Choices FollowSymLinks Multiviews MultiviewsMatch Any # # AllowOverride controls what directives could also be positioned in .htaccess information. # It may be "All", "None", or any mixture of the key phrases: # AllowOverride FileInfo AuthConfig Restrict # AllowOverride None # # Controls who can get stuff from this server. # Require all granted </Listing> # # DirectoryIndex: units the file that Apache will serve if a listing # is requested. # <IfModule dir_module> DirectoryIndex index.html </IfModule> # # The next traces forestall .htaccess and .htpasswd information from being # considered by Internet purchasers. # <FilesMatch "^.([Hh][Tt]|[Dd][Ss]_[Ss])"> Require all denied </FilesMatch> # # Apple particular filesystem safety. # <Information "rsrc"> Require all denied </Information> <DirectoryMatch ".*..namedfork"> Require all denied </DirectoryMatch> # # ErrorLog: The placement of the error log file. # If you don't specify an ErrorLog directive inside a <VirtualHost> # container, error messages referring to that digital host will likely be # logged right here. When you *do* outline an error logfile for a <VirtualHost> # container, that host's errors will likely be logged there and never right here. # ErrorLog "/personal/var/log/apache2/error_log" # # LogLevel: Management the variety of messages logged to the error_log. # Doable values embody: debug, data, discover, warn, error, crit, # alert, emerg. # LogLevel warn <IfModule log_config_module> # # The next directives outline some format nicknames to be used with # a CustomLog directive (see beneath). # LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{Person-Agent}i"" mixed LogFormat "%h %l %u %t "%r" %>s %b" widespread <IfModule logio_module> # That you must allow mod_logio.c to make use of %I and %O LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{Person-Agent}i" %I %O" combinedio </IfModule> # # The placement and format of the entry logfile (Frequent Logfile Format). # If you don't outline any entry logfiles inside a <VirtualHost> # container, they are going to be logged right here. Contrariwise, when you *do* # outline per-<VirtualHost> entry logfiles, transactions will likely be # logged therein and *not* on this file. # CustomLog "/personal/var/log/apache2/access_log" widespread # # When you desire a logfile with entry, agent, and referer info # (Mixed Logfile Format) you should utilize the next directive. # #CustomLog "/personal/var/log/apache2/access_log" mixed </IfModule> <IfModule alias_module> # # Redirect: Means that you can inform purchasers about paperwork that used to # exist in your server's namespace, however don't anymore. The shopper # will make a brand new request for the doc at its new location. # Instance: # Redirect everlasting /foo http://www.instance.com/bar # # Alias: Maps net paths into filesystem paths and is used to # entry content material that doesn't reside beneath the DocumentRoot. # Instance: # Alias /webpath /full/filesystem/path # # When you embody a trailing / on /webpath then the server will # require it to be current within the URL. Additionally, you will probably # want to supply a <Listing> part to permit entry to # the filesystem path. # # ScriptAlias: This controls which directories include server scripts. # ScriptAliases are primarily the identical as Aliases, besides that # paperwork within the goal listing are handled as purposes and # run by the server when requested relatively than as paperwork despatched to the # shopper. The identical guidelines about trailing "/" apply to ScriptAlias # directives as to Alias. # ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1" </IfModule> <IfModule cgid_module> # # ScriptSock: On threaded servers, designate the trail to the UNIX # socket used to speak with the CGI daemon of mod_cgid. # #Scriptsock cgisock </IfModule> # # "/Library/WebServer/CGI-Executables" needs to be modified to no matter your ScriptAliased # CGI listing exists, you probably have that configured. # <Listing "/Library/WebServer/CGI-Executables"> AllowOverride None Choices None Require all granted </Listing> <IfModule headers_module> # # Keep away from passing HTTP_PROXY atmosphere to CGI's on this or any proxied # backend servers which have lingering "httpoxy" defects. # 'Proxy' request header is undefined by the IETF, not listed by IANA # RequestHeader unset Proxy early </IfModule> <IfModule mime_module> # # TypesConfig factors to the file containing the checklist of mappings from # filename extension to MIME-type. # TypesConfig /personal/and so forth/apache2/mime.sorts # # AddType permits you to add to or override the MIME configuration # file laid out in TypesConfig for particular file sorts. # #AddType utility/x-gzip .tgz # # AddEncoding permits you to have sure browsers uncompress # info on the fly. Word: Not all browsers help this. # #AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz # # If the AddEncoding directives above are commented-out, you then # in all probability ought to outline these extensions to point media sorts: # AddType utility/x-compress .Z AddType utility/x-gzip .gz .tgz # # AddHandler permits you to map sure file extensions to "handlers": # actions unrelated to filetype. These might be both constructed into the server # or added with the Motion directive (see beneath) # # To make use of CGI scripts outdoors of ScriptAliased directories: # (Additionally, you will want so as to add "ExecCGI" to the "Choices" directive.) # #AddHandler cgi-script .cgi # For kind maps (negotiated sources): #AddHandler type-map var # # Filters permit you to course of content material earlier than it's despatched to the shopper. # # To parse .shtml information for server-side consists of (SSI): # (Additionally, you will want so as to add "Consists of" to the "Choices" directive.) # #AddType textual content/html .shtml #AddOutputFilter INCLUDES .shtml </IfModule> # # The mod_mime_magic module permits the server to make use of numerous hints from the # contents of the file itself to find out its kind. The MIMEMagicFile # directive tells the module the place the trace definitions are situated. # #MIMEMagicFile /personal/and so forth/apache2/magic # # Customizable error responses are available in three flavors: # 1) plain textual content 2) native redirects 3) exterior redirects # # Some examples: #ErrorDocument 500 "The server made a boo boo." #ErrorDocument 404 /lacking.html #ErrorDocument 404 "/cgi-bin/missing_handler.pl" #ErrorDocument 402 http://www.instance.com/subscription_info.html # # # MaxRanges: Most variety of Ranges in a request earlier than # returning your complete useful resource, or one of many particular # values 'default', 'none' or 'limitless'. # Default setting is to simply accept 200 Ranges. #MaxRanges limitless # # EnableMMAP and EnableSendfile: On techniques that help it, # memory-mapping or the sendfile syscall could also be used to ship # information. This often improves server efficiency, however should # be turned off when serving from networked-mounted # filesystems or if help for these capabilities is in any other case # damaged in your system. # Defaults: EnableMMAP On, EnableSendfile Off # #EnableMMAP off #EnableSendfile on TraceEnable off # Supplemental configuration # # The configuration information within the /personal/and so forth/apache2/further/ listing might be # included so as to add further options or to switch the default configuration of # the server, or chances are you'll merely copy their contents right here and alter as # essential. # Server-pool administration (MPM particular) Embody /personal/and so forth/apache2/further/httpd-mpm.conf # Multi-language error messages #Embody /personal/and so forth/apache2/further/httpd-multilang-errordoc.conf # Fancy listing listings Embody /personal/and so forth/apache2/further/httpd-autoindex.conf # Language settings #Embody /personal/and so forth/apache2/further/httpd-languages.conf # Person house directories #Embody /personal/and so forth/apache2/further/httpd-userdir.conf # Actual-time data on requests and configuration #Embody /personal/and so forth/apache2/further/httpd-info.conf # Digital hosts #Embody /personal/and so forth/apache2/further/httpd-vhosts.conf # Native entry to the Apache HTTP Server Guide #Embody /personal/and so forth/apache2/further/httpd-manual.conf # Distributed authoring and versioning (WebDAV) #Embody /personal/and so forth/apache2/further/httpd-dav.conf # Numerous default settings #Embody /personal/and so forth/apache2/further/httpd-default.conf # Configure mod_proxy_html to know HTML4/XHTML1 <IfModule proxy_html_module> Embody /personal/and so forth/apache2/further/proxy-html.conf </IfModule> # Safe (SSL/TLS) connections #Embody /personal/and so forth/apache2/further/httpd-ssl.conf # # Word: The next should have to be current to help # beginning with out SSL on platforms with no /dev/random equal # however a statically compiled-in mod_ssl. # <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed join builtin </IfModule> Embody /personal/and so forth/apache2/different/*.confAdvertisement
