[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Apache Web Server

19K

Solutions

14K

Contributors

The Apache HTTP Server is a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. Typically Apache is run on a Unix-like operating system, but it is available for a wide variety of operating systems, including Linux, Novell NetWare, Mac OS-X and Windows. Released under the Apache License, Apache is open-source software.

Share tech news, updates, or what's on your mind.

Sign up to Post

I install the service using the service.bat /catalina and it shows up in services.msc just fine, but whenever I go attempt to start it, even with domain admin or local admin rights, it errors out, and eventlogs are useless because there is next to zero information on the actual root cause of why it won't start...


service won't start
0
Learn Ruby Fundamentals
LVL 12
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Hello,

Does anyone have any idea how to authenticate a user against two different OUs on the same AD server?

I am using Apache 2.4 on Ubuntu 18.04.
Server version: Apache/2.4.18 (Ubuntu)
Server built:   2018-06-07T19:43:03

The user could be in "ABC User" or "XYZ user".
AD OUs are:
AuthLDAPURL "ldap://adx.ABC.org:389/OU=ABC Users,DC=ABC,DC=org?sAMAccountName?sub?(objectClass=*)"
and
AuthLDAPURL "ldap://adx.ABC.org:389/OU=XYZ Users,DC=ABC,DC=org?sAMAccountName?sub?(objectClass=*)"


Part of the current conf file:
<Location />
      AuthName "ABC Intranet"
        AuthBasicProvider ldap

        AuthType Basic
        AuthLDAPURL "ldap://adx.ABC.org:389/OU=ABC Users,DC=ABC,DC=org?sAMAccountName?sub?(objectClass=*)"

      # login to AD
      AuthLDAPBindDN "CN=ldap_ABCweb,OU=ABC Service Accounts,DC=ABC,DC=org"
        AuthLDAPBindPassword
        AuthLDAPGroupAttributeIsDN off
        AuthLDAPGroupAttribute memberUid

# tried this and failed
#      Require ldap-filter (&(memberOf='OU=XYZ Users,DC=ABC,DC=org?sAMAccountName?sub?(objectClass=*')|(memberOf='OU=ABC Users,DC=ABC,DC=org?sAMAccountName?sub?(objectClass=*'))

# tried this and failed                                     
#      <RequireAny>
#        Require ldap-filter (&(memberOf='OU=ABC Users,DC=ABC,DC=org?sAMAccountName?sub?(objectClass=*'))
#        Require ldap-filter (&(memberOf='OU=XYZ Users,DC=ABC,DC=org?sAMAccountName?sub?(objectClass=*'))
#       </RequireAny>

      # require any is implied
      require any
      Require valid-user
      …
0
Misconfiguration of certificate's CN and virtual name. The certificate CN has ww2.scryptions. We expected www2.scryptions.com as virtual name.
0
Hello,

We are facing issues of transaction declines on our Application Server. After running netstat -ano it is observed that there are many entries find out with "Time_Wait" status. This server has Apache, Java Middleware, Switch & ActiveMQ components installed on it. The transactions are high in volume approximately 2.5 million per day.

We want to know any parameters needs to be checked on registry or in Application to troubleshoot this issue.

Regards
Gurunath
0
I have read about apache zeppelin but couldn't understand

when it can be used ?
 for which application it would be more suitable ?
 what are the customization can be done?
will it be a good work flow management tool with reports?
0
I am stuck with the following problem:

What I am trying to achieve:
1. Create a application that generates webservices on the fly
2. Deploy these as individual services in JBoss Fuse.
    Package these as OSGi bundle to deploy in JBoss Fuse server, using Apache CXF framework (This uses Apache Felix)
3. Call these Web Services
    a. Individually
    b. Aggregate / Combine output from multiple web services, create a new web service and deploy this in JBoss Fuse


The issue I'm, facing:
I get the following errors and warnings during deployment of 3 b, i.e. the new web service:
    Errors
     org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2012)[54:org.apache.felix.scr:1.8.2]
     org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:943)[org.apache.felix.framework-4.4.1.jar:]

     Warnings
     org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4445)[org.apache.felix.framework-4.4.1.jar:].
     org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)[org.apache.felix.framework-4.4.1.jar:]


I have posted this on stackoverflow, jboss developer forums and raised issues in redhat but no responses on this query.

Please find summary of files attached

1. Blueprint :- The blueprint container is a dependency injection framework that simplifies interaction with the OSGi container. In particular, the blueprint container …
0
What is a good antivirus system installed on RedHat server that is running Apache web server and hosts Moodle?

As you know Moodle is open to students to attached file and upload.  This may contain Viruses and other kinds of attack.

If you know any Antivirus system with all other detection capabilities for Redhat RHEL6 or 7 please share the name with me.

Thank you
0
Hello,

I want to redirect OLD author pages to new Author pages in my Wordpress site.

OLD URL: https://site.com/author/ebooks/
NEW URL: https://site.com/ebook-author/

I need help with the httaccess rule for this redirection using best SEO practice.

Thank you for your help!
0
Just got done creating a LAMP.  Then installed PHPMYADMIN.

Cannot log into PHPMYADMIN.  I have tried creating mySQL users, changing passwords, granting permissions, etc.

All attempts yield error 1045... access denied.

Thoughts?
0
I have an application that uses Apache running on a windows server that I need to create a certificate for. We have a 2008R2 server that is a CA that is trusted by all the machines in the domain. I understand the basic process of doing this, but all my research shows how to's that don't apply to my specific situation. (apache running on linux, submitting CSR to public CA etc.)
I'd like as step by step as possible as this is a production machine I'm meddling with. It can go down for an hour or a few without much impact, but I'd look bad.
0
PMI ACP® Project Management
LVL 12
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

awstats error 403 You don't have permission to access /awstats/awstats.pl on this server.
Apache error_log message:

AH01630: client denied by server configuration: /apps1/awstats-7.7/wwwroot/cgi-bin/awstats.pl
0
I want http://server.mydomain.org to take me straight to the java app.
What do I need to do to make that happen?

http://server.mydomain.org takes me to the Tomcat GUI.
http://server.mydomain.org/javaapp takes me to the java app.

i'm using this conf file.  It's the only site enabled.
<VirtualHost server.mydomain.org>
ServerName server.mydomain.org
ServerAlias server.mydomain.org
ProxyRequests off
ProxyPreserveHost on
ProxyPass / http://server.mydomain.org:8080/
ProxyPassReverse / http://server.mydomain.org:8080/
</VirtualHost>


The usual stuff. This is not enabled.
000-default
<VirtualHost *80>
#ServerName www.example.com  commented out.
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR]/error.log
CustomLog $[APACHE_LOG_DIR]/access.log combined
</VirtualHOst>

#vim: syntax=apache ts=4 sw=4 sts=4 sr noet

Java 1.8.0
Tomcat 9.0.12
Apache 2.4
Debian 9.5

I have read doc's from Apache, and several from Digital Ocean, and others.
I just don't get it.
0
url folder change

I have changed the folder structure slightly with moving some folders to a new folder.

eg conveyancing is now Syston/conveyancing

I have added 301 redirect which works well.

In my server files I now have the original pages ie conveyancing and ALSO Syston/conveyancing so these are duplicate, albeit with a 301 redirect.

Do I delete the duplicate pages?

Do I do a canonical tag?

If I have to retain the old pages, do I put a don't index/follow tag?


Thanks

Richard
0
Hello Experts!

I need help on how to use .htaccess to hide/remove .php from all my files and those inside folders.

I've tried to add .htaccess to the root of my folder, I could only access index.php redirected to login.php (showing login) but I couldn't move pass that page.

I was getting Page Not Found giving me wrong url.

Here is the code I've used inside .htaccess:
RewriteEngine On

# Unless directory, remove trailing slash
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ https://mysite.com/$1 [R=301,L]

# Redirect external .php requests to extensionless url
RewriteCond %{THE_REQUEST} ^(.+)\.php([#?][^\ ]*)?\ HTTP/
RewriteRule ^(.+)\.php$ https://mysite.com/$1 [R=301,L]

# Resolve .php file for extensionless php urls
RewriteRule ^([^/.]+)$ $1.php [L]

Open in new window

and:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

Open in new window

Separately, both yielded same result.

Am I supposed to indicate all folders name in the .htaccess? and how?

Someone even suggested I should put .htaccess inside all folders which I tried but I couldn't login (invalid login details). After removing them (.htaccess), I was able to login again.

Please help
0
I'm just starting to learn Docker, and I think I have some of the basic concepts of creating containers down.  My intention is to have multiple containers on my server, each serving one unique website.

Now, here's my question.  I don't know how to handle the ports if there are multiple containers all set to respond to port 80.  Won't it cause some sort of problem if there are multiple containers, each running their own instance of apache, each reacting to port 80?  Is there some sort of internal IP addressing then that needs to take place to handle that?

I've got a pretty decent idea how the routing/responding through Apache works on a single server - but isn't this conceptually multiple servers all tied together with the same IP?
0
Resolved most of the errors and stuck with this last one.

08-Oct-2018 21:42:28.333 INFO [main] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
08-Oct-2018 21:42:32.109 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
 java.lang.ArrayIndexOutOfBoundsException: 2420
      at org.springframework.asm.ClassReader.readClass(Unknown Source)
      at org.springframework.asm.ClassReader.accept(Unknown Source)
      at org.springframework.asm.ClassReader.accept(Unknown Source)
      at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:54)
      at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
      at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101)
      at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:76)
      at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.checkConfigurationClassCandidate(ConfigurationClassBeanDefinitionReader.java:300)
      at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:172)
      at …
0
Hi All,

How to copy some rows of data from excel sheet to new excel sheet in mac using java and if possible throw mail with the attachment of new excel sheet?

Note: Mac office 2011

 Thanks.
0
I am trying to reverse proxy to a another proxy. The trouble is its redirecting me to the url. I want the original url to stay about without subfolders.

server {
  server_name admin.example.com;

  location / {
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host $host;
    proxy_pass http://www.example.com/thisfolder/anotherfolder;
    proxy_redirect off;
  } 
}

Open in new window


I would like admin.exable.com to stay in the address bar and display what's in www.example.com/thisfolder/anotherfolder

Many thanks for any help.
0
hello,
i've an error appeared after i installed vmware vrealize business for cloud (7.5.0.23646-10043545) but i get this error in the attach. i also have vmware vrealize operation V (Version 6.6.1.6163035 Build 6163035), so how can i fix it?
Capture.JPG
0
IT Pros Agree: AI and Machine Learning Key
LVL 1
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Hi Expert
I need to debug some issues related to redirect rules.

for example:
rewritecond  request_uri /xxx

so In the above condition I am passing request_uri . is their anyway to print or echo and capture request_uri incoming data .

this helps to capture values and analyse log.
0
Here is my configuration for protecting one of my directories using mod_authn_dbd...
<VirtualHost *:80>

DBDriver mysql

DBDParams host=127.0.0.1,port=3306,dbname=myDB,user=root,pass=*****

DBDMin  4
DBDKeep 8
DBDMax  20
DBDExptime 300

<Directory "/path/to/ProtectedDir">
AuthDBDUserPWQuery "SELECT encrypt(passwd) AS password FROM myTable WHERE user_name = %s AND DUE_DATE>=CURDATE()"
  AuthType Basic
 AuthName "CurrentIssue"
 Require valid-user
 AuthBasicProvider socache dbd
</Directory>


    ServerName www.mySite.com
    ServerAlias mySite.com
    DocumentRoot /Server/WebSites/mySite
    ErrorLog /Server/WebSites/mySite/error.log
    CustomLog /Server/WebSites/mySiterequests.log combined

<Directory "/Server/WebSites/mySite">
    AllowOverride None
    Require all granted
</Directory>

</VirtualHost>

Open in new window

My question is how do I protect another Directory using a different mysql DB?

I've tried adding
DBDParams host=127.0.0.1,port=3306,[u]dbname2[/u]=myDB,user=root,pass=*****

Open in new window

and
<Directory "/path/to/ProtectedDir2">
AuthDBDUserPWQuery "SELECT encrypt(passwd) AS password FROM myTable2 WHERE user_name = %s "
  AuthType Basic
 AuthName "Admin"
 Require valid-user
 AuthBasicProvider socache dbd
</Directory>

Open in new window

As expected this breaks both Directories.
Any ideas on how I would accomplish this?
Is there any way to use mod_authn_dbd with htaccess?
0
Dear Experts
We are having CRM application which is web-based runs on LAMP stack. the operation team reports between specific time period user get time out when they save the records or convert the records or retrieve the records, can you please suggest on how to capture log files which occurs during that time for example 5pm to 6pm, only during this time I would like to capture a following log files.
1) /var/log/mysql.log
2)/var/www/html/crmapp/crm.log
3) /var/log/slowquerylog
4)/var/log/httpd/error.log
please help with steps on above 1 to 4 log capture during specific time period , this will be helpful to investigate , thank you very much.
0
Hi,

I have created a web project using PHP and c++. In brief what it does is connects to an remote Exchange server and gets the data from it. The website functions properly, but it requires some changes to be made to the PHP.ini file (enabling LDAP, COM, etc). I am using XAMPP.
The issue I'm facing is that the changes made to the php.ini file is not taking effect. I have created a c++ console application which runs in hidden mode and modifies the php.ini file. When I open and check the ini, the changes are there in it but when I run the website trough XAMPP it does not pick up the changes made to ini. I have tried restarting the Apache service, restarting XAMPP, restarting machine as well, nothing worked.

Though the problem is not concerning exchange server, any help would be greatly appreciated.
Thanks.
0
hello
is there any free open source gui for modsec managment and monitoring?
thanks.
0
Is there a way to achieve the following -

We have a RANK field in each document, and essentially, I would like my score to be influenced by this RANK as follows -

score = (score * 0.1) + RANK

How can I achieve this with function queries or through some other mechanism

Solr Version # 7.4.0

Thanks!
0

Apache Web Server

19K

Solutions

14K

Contributors

The Apache HTTP Server is a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. Typically Apache is run on a Unix-like operating system, but it is available for a wide variety of operating systems, including Linux, Novell NetWare, Mac OS-X and Windows. Released under the Apache License, Apache is open-source software.